-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Run workflows in concurrency groups #7211
Merged
vinitkumar
merged 4 commits into
django-cms:develop
from
marksweb:feature/unique-concurrency-groups
Jan 27, 2022
Merged
feat: Run workflows in concurrency groups #7211
vinitkumar
merged 4 commits into
django-cms:develop
from
marksweb:feature/unique-concurrency-groups
Jan 27, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vinitkumar
approved these changes
Jan 27, 2022
goutnet
pushed a commit
that referenced
this pull request
Feb 8, 2022
* Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com>
marksweb
added a commit
that referenced
this pull request
Feb 10, 2022
* Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de>
marksweb
added a commit
that referenced
this pull request
Mar 26, 2022
* Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Release/3.10.x (#7275) Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de>
marksweb
added a commit
that referenced
this pull request
May 24, 2022
* Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com>
marksweb
added a commit
that referenced
this pull request
Jun 19, 2022
* Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * fix: Change except catch using list to tuple [#7334] * fix: typo in changelog Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com>
marksweb
added a commit
that referenced
this pull request
Jun 28, 2022
* Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * ci: Sync release/3.10.x with develop (#7328) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * Fix for "Permission denied (publickey)" error (#7333) Using https fixes the issue with running the `git clone` command resulting in the error: >git@github.com: Permission denied (publickey). >fatal: Could not read from remote repository. > >Please make sure you have the correct access rights >and the repository exists. * feat: Configurable dark mode (#7329) * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Add: Color scheme configurable * Add: Toolbar toggle (always on) * Add: CMS_COLOR_SCHEME_TOGGLE setting * Add: color scheme toggle test * Fix: Only set color scheme in cms iframes * Add: Basic documentation of new settings * Fix: color scheme switch as css variables * Fix: Cascade settings into iframes of iframes (e.g., cms plugins inside ckeditor) * Fix: no toggle in collapsed toolbar Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: dark mode tweaks and test fixes (requests in context) (#7338) * Fix: toolbar bug 3.10.rc1 * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Upstream change to be able to merge * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Revert "Fix: toolbar bug 3.10.rc1" This reverts commit 592a2b6. * Fix: Recommit toolbar fix (??) * Fix: After lint failure: Remove spaces added by PyCharm * Fix: Wizzard button color * Fix: Correct toolbar according to cms_path Fix: Avoid unnecessary toolbar loading * TASK: use isort to sort imports * Fix: Remove unused css rule Fix: Add plugin search bar text did not reflect dark mode * Fix: Toolbar tests to include request object for TextPlugin * Fix: Pass a request (None) for the processors test Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Mark Walker <theshow@gmail.com> * fix: remove fixed width for edit plugin popup (=> autowidth) (#7337) * fix: remove fixed width for edit plugin popup (=> autowidth) Same behavior as new popup * fix: revert bundled js * fix: update changelog * fix: remove trailing comma * fix: Except block using list instead of tuple (#7342) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * fix: Change except catch using list to tuple [#7334] * fix: typo in changelog Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> * feat: add cache ttl extension point (#7299) Adds the setting `CMS_CACHE_LIMIT_TTL_CLASS` that should have a `limit_page_cache_ttl` method that would be called to limit the cache ttl of a page using business logic. Closes #7296 * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com>
vinitkumar
added a commit
that referenced
this pull request
Aug 1, 2022
* Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes * Addressing review comment [#7372] Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com>
marksweb
added a commit
to marksweb/django-cms
that referenced
this pull request
Aug 1, 2022
* Release 3.10.0 RC1 (django-cms#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (django-cms#7219) * Fix script typos (django-cms#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (django-cms#7205) * fix: Disable workflow concurrency to bring stability back to the CI (django-cms#7209) * Upgrade Gulp and Nodejs (django-cms#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (django-cms#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (django-cms#7233) * Fix script typos (django-cms#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (django-cms#7205) * fix: Disable workflow concurrency to bring stability back to the CI (django-cms#7209) * Upgrade Gulp and Nodejs (django-cms#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (django-cms#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (django-cms#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (django-cms#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (django-cms#7275) * Fixes django-cms#7288 by also catching AttributeError, when the current toolbar… (django-cms#7289) * Fixes django-cms#7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * django-cms#7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [django-cms#7290] (django-cms#7293) * Fix for django 2.2 in middleware [django-cms#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (django-cms#7294) * Fix version number in bump commit * Fix release script version commit. (django-cms#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (django-cms#7330) * fix: Use http rather than https in toolbar sites menu (django-cms#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (django-cms#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (django-cms#7345) * fix: Request missing from test rendering (django-cms#7346) * fix: Changelog titles for 3.10.x (django-cms#7347) * build: Release 3.10.1 (django-cms#7348) * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes * Addressing review comment [django-cms#7372] Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> (cherry picked from commit 3b2dc10)
fsbraun
added a commit
that referenced
this pull request
Nov 8, 2022
* ci: stale bot added (#7298) * ci: Added codespell (#7355) Co-authored-by: Christian Clauss <cclauss@me.com> * ci: codespell config taken from #7292 * fix: Added language to page cache key (#7354) * ci: Remove a superfluous installation of codespell (#7356) * build: bump django from 3.2.13 to 3.2.14 in /docs (#7358) Bumps [django](https://github.com/django/django) from 3.2.13 to 3.2.14. - [Release notes](https://github.com/django/django/releases) - [Commits](django/django@3.2.13...3.2.14) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * typo (#7360) * Update install.rst (#7368) Remove bug in `python manage.py command` * ci: Flake8 fixes (#7372) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes * Addressing review comment [#7372] Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * build: bump django from 3.2.14 to 3.2.15 in /docs (#7379) Bumps [django](https://github.com/django/django) from 3.2.14 to 3.2.15. - [Release notes](https://github.com/django/django/releases) - [Commits](django/django@3.2.14...3.2.15) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: default light mode (#7381) * ci: Merging release/3.11.0 (#7377) * docs: Bump requirements (#7382) * docs: Bump requirements * docs: Bump python verion used by RTD * docs: Have RTD install from setup.py * chore: Fix spelling errors * docs: build against python 3.8 * docs: try to install from `setup.py` using conf file * docs: Install from pip then setup * ci: Install django-cms from pip again * fix: CMS check management command fixed [#7386] * ci: sync isort line length (#7353) * docs: fixing a link (#7393) * docs: fixing a link misspelled URL * Update CONTRIBUTING.rst Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Mark Walker <theshow@gmail.com> * refactor: Move js API functions to CMS.Helpers to make them available also to the admin site (#7384) Move CMS.API.Toolbar.get_color_scheme to CMS.API.Helpers.getColorScheme and CMS.API.Toolbar.set_color_scheme to CMS.API.Helpers.setColorScheme * fix: Allow partially overriding CMS_CACHE_DURATIONS (#7339) * Allow partially overriding CMS_CACHE_DURATIONS * add doc and changelog Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Adjust paste label in pt-br locale (#7376) * feat: Add support for tel: and mailto: URIs in Advanced Page Settings redirect field (#7370) Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * feat: Add support for tel: and mailto: URIs in Advanced Page Settings redirect field * docs: Correction of headings around CMSPlugin & CMSPluginBase (#7406) * fix: Unlocalize page and node ids when rendering the page tree in the admin (#7188) * #7175: unlocalize page and node ids when rendering the page tree in the admin * Fix flake8 issue * Update the test so as not to have to generate one thousand pages. The downside is that it only works in sqlite * Make isort happy * #7155: extend unlocalisation of pks to a few more templates * #7175: cleanup, dont unlocalize in `if` tags * Update CHANGELOG about #7175 Co-authored-by: Fabian Braun <fsbraun@gmx.de> Co-authored-by: Mark Walker <mark@django-cms.org> * fix: Clear page permission cache on page create (#6866) * Clear page permission cache on page create * Correct changelog entry * Update test_add_page.py * Update CHANGELOG.rst Co-authored-by: Mark Walker <theshow@gmail.com> * fix: Changing color scheme resets session settings to defaults (#7407) * Fix: incorrect saveing of color scheme in CMS.settings * Add: changelog entry :-) * ci: Added pre-commit ci config (#7409) * perf: Don't count users when CMS_RAW_ID_USERS=True (#7414) * perf: Don't count users when CMS_RAW_ID_USERS=True When using CMS_RAW_ID_USERS=True on a Postgres database with many users, counting the users is slow and will always yield the same result. Only count users when using an integer value as a threshold and reuse the same logic for both PagePermissionInlineAdmin and GlobalPagePermissionAdmin. * Ensure that only integer settings of CMS_RAW_ID_USERS are compared to the number of users * Add documentation for the CMS_RAW_ID_USER=True setting * fix isort for added tests * Fix: in python this is always True: isinstance(False, int) Co-authored-by: Pankrat <lhaehne@gmail.com> * fix: CMS check management command fixed [#7412] (#7413) * fix: CMS check management command fixed [#7412] Co-authored-by: jefe <me@myself.ai> * ci: Some tests misusing assertTrue for comparisons fix (#7241) * Fix issue avoid-misusing-assert-true found at https://codereview.doctor * feat: Support for Django 4.1 (#7404) * support: Django 4.1 * Fix: apphook test * Run tests on all databases Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Mark Walker <theshow@gmail.com> * build: bump django from 3.2.15 to 3.2.16 in /docs (#7417) * build: bump minimatch and gulp-if (#7416) Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.0.4 and updates ancestor dependency [gulp-if](https://github.com/robrich/gulp-if). These dependencies need to be updated together. Updates `minimatch` from 1.0.0 to 3.0.4 - [Release notes](https://github.com/isaacs/minimatch/releases) - [Commits](isaacs/minimatch@v1.0.0...v3.0.4) Updates `gulp-if` from 1.2.5 to 3.0.0 - [Release notes](https://github.com/robrich/gulp-if/releases) - [Commits](https://github.com/robrich/gulp-if/commits/3.0.0) --- updated-dependencies: - dependency-name: minimatch dependency-type: indirect - dependency-name: gulp-if dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fabian Braun <fsbraun@gmx.de> * fix: Added deprecation warning to `get_current_language()` (#7410) * fix: Added deprecation warning to `cms.utils.i18n.get_current_language()` * fix: Added deprecation warning to `cms.utils.i18n.get_current_language()` * Added stack level to deprecation warning Co-authored-by: Fabian Braun <fsbraun@gmx.de> * feat: add Python 3.11 support for Django CMS (#7422) * fix: test python3.11 Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: Adds a deprecation warning for SEND_BROKEN_LINK_EMAILS (#7420) * Fix: toolbar bug 3.10.rc1 * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Upstream change to be able to merge * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Revert "Fix: toolbar bug 3.10.rc1" This reverts commit 592a2b6. * Fix: Recommit toolbar fix (??) * Fix: After lint failure: Remove spaces added by PyCharm * Fix: Wizzard button color * Fix: Correct toolbar according to cms_path Fix: Avoid unnecessary toolbar loading * TASK: use isort to sort imports * Fix: Move CMS.API.Toolbar.get_color_scheme to CMS.API.Helpers.getColorScheme and CMS.API.Toolbar.set_color_scheme to CMS.API.Helpers.setColorScheme * Fix: Typo in comment * Fix: Typos in comments * Fix: Typos in comments * Add: Changelog entry * Fix: base unit test for js frontend * Add: Basic set/get color scheme test * fix: deprecate SEND_BROKEN_LINK_EMAILS setting * fix: flake8 w504 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Mark Walker <theshow@gmail.com> * fix: Prefer titles matching request language (#7144) * prefer titles matching request language * add comments on use of annotate * fix wayward imports * Add changelog entry Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Mark Walker <theshow@gmail.com> * [3.11.1rc1 release process] Building locales * [3.11.1rc1 release process] Bumped version to 3.11.1rc1 * [3.11.1rc1 release process] compilemessages * [3.11.1rc1 release process] compiling new static files * [3.11.1rc1 release process] updating latest docs * Update and rename .rst to 3.11.1.rst * Update 3.11.1.rst * Update index.rst * [3.11.1rc1 release process] Building locales * Update 3.11.1.rst * Update index.rst * Update index.rst * Update index.rst * Update index.rst * Update index.rst * Fix: Allow setup to run before dependencies are installed * Update transifex translations Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com>
fsbraun
added a commit
that referenced
this pull request
Jan 5, 2023
* Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * build: Release 3.11.0rc1 (#7326) * [3.11.0 release process] Bumped version to 3.11.0 * [3.11.0 release process] compilemessages * [3.11.0 release process] compiling new static files * [3.11.0 release process] updating latest docs * [3.11.0rc1 release process] Bumped version to 3.11.0rc1 * Added static files * Removed static files of 0.3.11 release * Manually added changes to the upgrade docs * Adjusted upgrade note header * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * ci: Merge develop into release/3.11 (#7350) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * ci: Sync release/3.10.x with develop (#7328) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * Fix for "Permission denied (publickey)" error (#7333) Using https fixes the issue with running the `git clone` command resulting in the error: >git@github.com: Permission denied (publickey). >fatal: Could not read from remote repository. > >Please make sure you have the correct access rights >and the repository exists. * feat: Configurable dark mode (#7329) * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Add: Color scheme configurable * Add: Toolbar toggle (always on) * Add: CMS_COLOR_SCHEME_TOGGLE setting * Add: color scheme toggle test * Fix: Only set color scheme in cms iframes * Add: Basic documentation of new settings * Fix: color scheme switch as css variables * Fix: Cascade settings into iframes of iframes (e.g., cms plugins inside ckeditor) * Fix: no toggle in collapsed toolbar Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: dark mode tweaks and test fixes (requests in context) (#7338) * Fix: toolbar bug 3.10.rc1 * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Upstream change to be able to merge * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Revert "Fix: toolbar bug 3.10.rc1" This reverts commit 592a2b6. * Fix: Recommit toolbar fix (??) * Fix: After lint failure: Remove spaces added by PyCharm * Fix: Wizzard button color * Fix: Correct toolbar according to cms_path Fix: Avoid unnecessary toolbar loading * TASK: use isort to sort imports * Fix: Remove unused css rule Fix: Add plugin search bar text did not reflect dark mode * Fix: Toolbar tests to include request object for TextPlugin * Fix: Pass a request (None) for the processors test Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Mark Walker <theshow@gmail.com> * fix: remove fixed width for edit plugin popup (=> autowidth) (#7337) * fix: remove fixed width for edit plugin popup (=> autowidth) Same behavior as new popup * fix: revert bundled js * fix: update changelog * fix: remove trailing comma * fix: Except block using list instead of tuple (#7342) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * fix: Change except catch using list to tuple [#7334] * fix: typo in changelog Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> * feat: add cache ttl extension point (#7299) Adds the setting `CMS_CACHE_LIMIT_TTL_CLASS` that should have a `limit_page_cache_ttl` method that would be called to limit the cache ttl of a page using business logic. Closes #7296 * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes (#7372) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes * Addressing review comment [#7372] Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> (cherry picked from commit 3b2dc10) * Add release candidate to changelog version * Change 3.11.0rc1 release date to fix `make-changelog` * build: Release 3.11.0 (#7373) * fix: Added language to page cache key (#7354) * Update install.rst (#7368) Remove bug in `python manage.py command` * Updated changelog for 3.11.0 * feat: Release/3.11.1 (#7431) * ci: stale bot added (#7298) * ci: Added codespell (#7355) Co-authored-by: Christian Clauss <cclauss@me.com> * ci: codespell config taken from #7292 * fix: Added language to page cache key (#7354) * ci: Remove a superfluous installation of codespell (#7356) * build: bump django from 3.2.13 to 3.2.14 in /docs (#7358) Bumps [django](https://github.com/django/django) from 3.2.13 to 3.2.14. - [Release notes](https://github.com/django/django/releases) - [Commits](django/django@3.2.13...3.2.14) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * typo (#7360) * Update install.rst (#7368) Remove bug in `python manage.py command` * ci: Flake8 fixes (#7372) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes * Addressing review comment [#7372] Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * build: bump django from 3.2.14 to 3.2.15 in /docs (#7379) Bumps [django](https://github.com/django/django) from 3.2.14 to 3.2.15. - [Release notes](https://github.com/django/django/releases) - [Commits](django/django@3.2.14...3.2.15) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: default light mode (#7381) * ci: Merging release/3.11.0 (#7377) * docs: Bump requirements (#7382) * docs: Bump requirements * docs: Bump python verion used by RTD * docs: Have RTD install from setup.py * chore: Fix spelling errors * docs: build against python 3.8 * docs: try to install from `setup.py` using conf file * docs: Install from pip then setup * ci: Install django-cms from pip again * fix: CMS check management command fixed [#7386] * ci: sync isort line length (#7353) * docs: fixing a link (#7393) * docs: fixing a link misspelled URL * Update CONTRIBUTING.rst Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Mark Walker <theshow@gmail.com> * refactor: Move js API functions to CMS.Helpers to make them available also to the admin site (#7384) Move CMS.API.Toolbar.get_color_scheme to CMS.API.Helpers.getColorScheme and CMS.API.Toolbar.set_color_scheme to CMS.API.Helpers.setColorScheme * fix: Allow partially overriding CMS_CACHE_DURATIONS (#7339) * Allow partially overriding CMS_CACHE_DURATIONS * add doc and changelog Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Adjust paste label in pt-br locale (#7376) * feat: Add support for tel: and mailto: URIs in Advanced Page Settings redirect field (#7370) Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * feat: Add support for tel: and mailto: URIs in Advanced Page Settings redirect field * docs: Correction of headings around CMSPlugin & CMSPluginBase (#7406) * fix: Unlocalize page and node ids when rendering the page tree in the admin (#7188) * #7175: unlocalize page and node ids when rendering the page tree in the admin * Fix flake8 issue * Update the test so as not to have to generate one thousand pages. The downside is that it only works in sqlite * Make isort happy * #7155: extend unlocalisation of pks to a few more templates * #7175: cleanup, dont unlocalize in `if` tags * Update CHANGELOG about #7175 Co-authored-by: Fabian Braun <fsbraun@gmx.de> Co-authored-by: Mark Walker <mark@django-cms.org> * fix: Clear page permission cache on page create (#6866) * Clear page permission cache on page create * Correct changelog entry * Update test_add_page.py * Update CHANGELOG.rst Co-authored-by: Mark Walker <theshow@gmail.com> * fix: Changing color scheme resets session settings to defaults (#7407) * Fix: incorrect saveing of color scheme in CMS.settings * Add: changelog entry :-) * ci: Added pre-commit ci config (#7409) * perf: Don't count users when CMS_RAW_ID_USERS=True (#7414) * perf: Don't count users when CMS_RAW_ID_USERS=True When using CMS_RAW_ID_USERS=True on a Postgres database with many users, counting the users is slow and will always yield the same result. Only count users when using an integer value as a threshold and reuse the same logic for both PagePermissionInlineAdmin and GlobalPagePermissionAdmin. * Ensure that only integer settings of CMS_RAW_ID_USERS are compared to the number of users * Add documentation for the CMS_RAW_ID_USER=True setting * fix isort for added tests * Fix: in python this is always True: isinstance(False, int) Co-authored-by: Pankrat <lhaehne@gmail.com> * fix: CMS check management command fixed [#7412] (#7413) * fix: CMS check management command fixed [#7412] Co-authored-by: jefe <me@myself.ai> * ci: Some tests misusing assertTrue for comparisons fix (#7241) * Fix issue avoid-misusing-assert-true found at https://codereview.doctor * feat: Support for Django 4.1 (#7404) * support: Django 4.1 * Fix: apphook test * Run tests on all databases Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Mark Walker <theshow@gmail.com> * build: bump django from 3.2.15 to 3.2.16 in /docs (#7417) * build: bump minimatch and gulp-if (#7416) Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.0.4 and updates ancestor dependency [gulp-if](https://github.com/robrich/gulp-if). These dependencies need to be updated together. Updates `minimatch` from 1.0.0 to 3.0.4 - [Release notes](https://github.com/isaacs/minimatch/releases) - [Commits](isaacs/minimatch@v1.0.0...v3.0.4) Updates `gulp-if` from 1.2.5 to 3.0.0 - [Release notes](https://github.com/robrich/gulp-if/releases) - [Commits](https://github.com/robrich/gulp-if/commits/3.0.0) --- updated-dependencies: - dependency-name: minimatch dependency-type: indirect - dependency-name: gulp-if dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fabian Braun <fsbraun@gmx.de> * fix: Added deprecation warning to `get_current_language()` (#7410) * fix: Added deprecation warning to `cms.utils.i18n.get_current_language()` * fix: Added deprecation warning to `cms.utils.i18n.get_current_language()` * Added stack level to deprecation warning Co-authored-by: Fabian Braun <fsbraun@gmx.de> * feat: add Python 3.11 support for Django CMS (#7422) * fix: test python3.11 Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: Adds a deprecation warning for SEND_BROKEN_LINK_EMAILS (#7420) * Fix: toolbar bug 3.10.rc1 * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Upstream change to be able to merge * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Revert "Fix: toolbar bug 3.10.rc1" This reverts commit 592a2b6. * Fix: Recommit toolbar fix (??) * Fix: After lint failure: Remove spaces added by PyCharm * Fix: Wizzard button color * Fix: Correct toolbar according to cms_path Fix: Avoid unnecessary toolbar loading * TASK: use isort to sort imports * Fix: Move CMS.API.Toolbar.get_color_scheme to CMS.API.Helpers.getColorScheme and CMS.API.Toolbar.set_color_scheme to CMS.API.Helpers.setColorScheme * Fix: Typo in comment * Fix: Typos in comments * Fix: Typos in comments * Add: Changelog entry * Fix: base unit test for js frontend * Add: Basic set/get color scheme test * fix: deprecate SEND_BROKEN_LINK_EMAILS setting * fix: flake8 w504 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Mark Walker <theshow@gmail.com> * fix: Prefer titles matching request language (#7144) * prefer titles matching request language * add comments on use of annotate * fix wayward imports * Add changelog entry Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Mark Walker <theshow@gmail.com> * [3.11.1rc1 release process] Building locales * [3.11.1rc1 release process] Bumped version to 3.11.1rc1 * [3.11.1rc1 release process] compilemessages * [3.11.1rc1 release process] compiling new static files * [3.11.1rc1 release process] updating latest docs * Update and rename .rst to 3.11.1.rst * Update 3.11.1.rst * Update index.rst * [3.11.1rc1 release process] Building locales * Update 3.11.1.rst * Update index.rst * Update index.rst * Update index.rst * Update index.rst * Update index.rst * Fix: Allow setup to run before dependencies are installed * Update transifex translations Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> * feat: Add github actions for publishing on pyi (#7438) * Add github actions for publishing on pyi * Fix branch trigger to branch `release/**` * Also run publish to test pypi on develop * build: Release v3.11.1 (#7455) * build: bump minimatch from 3.0.4 to 3.1.2 (#7453) Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2. - [Release notes](https://github.com/isaacs/minimatch/releases) - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](isaacs/minimatch@v3.0.4...v3.1.2) --- updated-dependencies: - dependency-name: minimatch dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build: bump decode-uri-component from 0.2.0 to 0.2.2 (#7451) Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. - [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases) - [Commits](SamVerschueren/decode-uri-component@v0.2.0...v0.2.2) --- updated-dependencies: - dependency-name: decode-uri-component dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fabian Braun <fsbraun@gmx.de> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Mark Walker <mark.walker@realbuzz.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com>
fsbraun
added a commit
that referenced
this pull request
Apr 19, 2023
* Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * build: Release 3.11.0rc1 (#7326) * [3.11.0 release process] Bumped version to 3.11.0 * [3.11.0 release process] compilemessages * [3.11.0 release process] compiling new static files * [3.11.0 release process] updating latest docs * [3.11.0rc1 release process] Bumped version to 3.11.0rc1 * Added static files * Removed static files of 0.3.11 release * Manually added changes to the upgrade docs * Adjusted upgrade note header * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * ci: Merge develop into release/3.11 (#7350) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * ci: Sync release/3.10.x with develop (#7328) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * Fix for "Permission denied (publickey)" error (#7333) Using https fixes the issue with running the `git clone` command resulting in the error: >git@github.com: Permission denied (publickey). >fatal: Could not read from remote repository. > >Please make sure you have the correct access rights >and the repository exists. * feat: Configurable dark mode (#7329) * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Add: Color scheme configurable * Add: Toolbar toggle (always on) * Add: CMS_COLOR_SCHEME_TOGGLE setting * Add: color scheme toggle test * Fix: Only set color scheme in cms iframes * Add: Basic documentation of new settings * Fix: color scheme switch as css variables * Fix: Cascade settings into iframes of iframes (e.g., cms plugins inside ckeditor) * Fix: no toggle in collapsed toolbar Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: dark mode tweaks and test fixes (requests in context) (#7338) * Fix: toolbar bug 3.10.rc1 * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Upstream change to be able to merge * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Revert "Fix: toolbar bug 3.10.rc1" This reverts commit 592a2b604e8f72b8e9c948e83163394cc6e8fe3d. * Fix: Recommit toolbar fix (??) * Fix: After lint failure: Remove spaces added by PyCharm * Fix: Wizzard button color * Fix: Correct toolbar according to cms_path Fix: Avoid unnecessary toolbar loading * TASK: use isort to sort imports * Fix: Remove unused css rule Fix: Add plugin search bar text did not reflect dark mode * Fix: Toolbar tests to include request object for TextPlugin * Fix: Pass a request (None) for the processors test Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Mark Walker <theshow@gmail.com> * fix: remove fixed width for edit plugin popup (=> autowidth) (#7337) * fix: remove fixed width for edit plugin popup (=> autowidth) Same behavior as new popup * fix: revert bundled js * fix: update changelog * fix: remove trailing comma * fix: Except block using list instead of tuple (#7342) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * fix: Change except catch using list to tuple [#7334] * fix: typo in changelog Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> * feat: add cache ttl extension point (#7299) Adds the setting `CMS_CACHE_LIMIT_TTL_CLASS` that should have a `limit_page_cache_ttl` method that would be called to limit the cache ttl of a page using business logic. Closes #7296 * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes (#7372) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes * Addressing review comment [#7372] Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> (cherry picked from commit 3b2dc101772bbfca75ab51b678a51025d6872b31) * Add release candidate to changelog version * Change 3.11.0rc1 release date to fix `make-changelog` * build: Release 3.11.0 (#7373) * fix: Added language to page cache key (#7354) * Update install.rst (#7368) Remove bug in `python manage.py command` * Updated changelog for 3.11.0 * feat: Release/3.11.1 (#7431) * ci: stale bot added (#7298) * ci: Added codespell (#7355) Co-authored-by: Christian Clauss <cclauss@me.com> * ci: codespell config taken from #7292 * fix: Added language to page cache key (#7354) * ci: Remove a superfluous installation of codespell (#7356) * build: bump django from 3.2.13 to 3.2.14 in /docs (#7358) Bumps [django](https://github.com/django/django) from 3.2.13 to 3.2.14. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.2.13...3.2.14) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * typo (#7360) * Update install.rst (#7368) Remove bug in `python manage.py command` * ci: Flake8 fixes (#7372) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes * Addressing review comment [#7372] Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * build: bump django from 3.2.14 to 3.2.15 in /docs (#7379) Bumps [django](https://github.com/django/django) from 3.2.14 to 3.2.15. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.2.14...3.2.15) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: default light mode (#7381) * ci: Merging release/3.11.0 (#7377) * docs: Bump requirements (#7382) * docs: Bump requirements * docs: Bump python verion used by RTD * docs: Have RTD install from setup.py * chore: Fix spelling errors * docs: build against python 3.8 * docs: try to install from `setup.py` using conf file * docs: Install from pip then setup * ci: Install django-cms from pip again * fix: CMS check management command fixed [#7386] * ci: sync isort line length (#7353) * docs: fixing a link (#7393) * docs: fixing a link misspelled URL * Update CONTRIBUTING.rst Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Mark Walker <theshow@gmail.com> * refactor: Move js API functions to CMS.Helpers to make them available also to the admin site (#7384) Move CMS.API.Toolbar.get_color_scheme to CMS.API.Helpers.getColorScheme and CMS.API.Toolbar.set_color_scheme to CMS.API.Helpers.setColorScheme * fix: Allow partially overriding CMS_CACHE_DURATIONS (#7339) * Allow partially overriding CMS_CACHE_DURATIONS * add doc and changelog Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Adjust paste label in pt-br locale (#7376) * feat: Add support for tel: and mailto: URIs in Advanced Page Settings redirect field (#7370) Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * feat: Add support for tel: and mailto: URIs in Advanced Page Settings redirect field * docs: Correction of headings around CMSPlugin & CMSPluginBase (#7406) * fix: Unlocalize page and node ids when rendering the page tree in the admin (#7188) * #7175: unlocalize page and node ids when rendering the page tree in the admin * Fix flake8 issue * Update the test so as not to have to generate one thousand pages. The downside is that it only works in sqlite * Make isort happy * #7155: extend unlocalisation of pks to a few more templates * #7175: cleanup, dont unlocalize in `if` tags * Update CHANGELOG about #7175 Co-authored-by: Fabian Braun <fsbraun@gmx.de> Co-authored-by: Mark Walker <mark@django-cms.org> * fix: Clear page permission cache on page create (#6866) * Clear page permission cache on page create * Correct changelog entry * Update test_add_page.py * Update CHANGELOG.rst Co-authored-by: Mark Walker <theshow@gmail.com> * fix: Changing color scheme resets session settings to defaults (#7407) * Fix: incorrect saveing of color scheme in CMS.settings * Add: changelog entry :-) * ci: Added pre-commit ci config (#7409) * perf: Don't count users when CMS_RAW_ID_USERS=True (#7414) * perf: Don't count users when CMS_RAW_ID_USERS=True When using CMS_RAW_ID_USERS=True on a Postgres database with many users, counting the users is slow and will always yield the same result. Only count users when using an integer value as a threshold and reuse the same logic for both PagePermissionInlineAdmin and GlobalPagePermissionAdmin. * Ensure that only integer settings of CMS_RAW_ID_USERS are compared to the number of users * Add documentation for the CMS_RAW_ID_USER=True setting * fix isort for added tests * Fix: in python this is always True: isinstance(False, int) Co-authored-by: Pankrat <lhaehne@gmail.com> * fix: CMS check management command fixed [#7412] (#7413) * fix: CMS check management command fixed [#7412] Co-authored-by: jefe <me@myself.ai> * ci: Some tests misusing assertTrue for comparisons fix (#7241) * Fix issue avoid-misusing-assert-true found at https://codereview.doctor * feat: Support for Django 4.1 (#7404) * support: Django 4.1 * Fix: apphook test * Run tests on all databases Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Mark Walker <theshow@gmail.com> * build: bump django from 3.2.15 to 3.2.16 in /docs (#7417) * build: bump minimatch and gulp-if (#7416) Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.0.4 and updates ancestor dependency [gulp-if](https://github.com/robrich/gulp-if). These dependencies need to be updated together. Updates `minimatch` from 1.0.0 to 3.0.4 - [Release notes](https://github.com/isaacs/minimatch/releases) - [Commits](https://github.com/isaacs/minimatch/compare/v1.0.0...v3.0.4) Updates `gulp-if` from 1.2.5 to 3.0.0 - [Release notes](https://github.com/robrich/gulp-if/releases) - [Commits](https://github.com/robrich/gulp-if/commits/3.0.0) --- updated-dependencies: - dependency-name: minimatch dependency-type: indirect - dependency-name: gulp-if dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fabian Braun <fsbraun@gmx.de> * fix: Added deprecation warning to `get_current_language()` (#7410) * fix: Added deprecation warning to `cms.utils.i18n.get_current_language()` * fix: Added deprecation warning to `cms.utils.i18n.get_current_language()` * Added stack level to deprecation warning Co-authored-by: Fabian Braun <fsbraun@gmx.de> * feat: add Python 3.11 support for Django CMS (#7422) * fix: test python3.11 Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: Adds a deprecation warning for SEND_BROKEN_LINK_EMAILS (#7420) * Fix: toolbar bug 3.10.rc1 * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Upstream change to be able to merge * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Revert "Fix: toolbar bug 3.10.rc1" This reverts commit 592a2b604e8f72b8e9c948e83163394cc6e8fe3d. * Fix: Recommit toolbar fix (??) * Fix: After lint failure: Remove spaces added by PyCharm * Fix: Wizzard button color * Fix: Correct toolbar according to cms_path Fix: Avoid unnecessary toolbar loading * TASK: use isort to sort imports * Fix: Move CMS.API.Toolbar.get_color_scheme to CMS.API.Helpers.getColorScheme and CMS.API.Toolbar.set_color_scheme to CMS.API.Helpers.setColorScheme * Fix: Typo in comment * Fix: Typos in comments * Fix: Typos in comments * Add: Changelog entry * Fix: base unit test for js frontend * Add: Basic set/get color scheme test * fix: deprecate SEND_BROKEN_LINK_EMAILS setting * fix: flake8 w504 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Mark Walker <theshow@gmail.com> * fix: Prefer titles matching request language (#7144) * prefer titles matching request language * add comments on use of annotate * fix wayward imports * Add changelog entry Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Mark Walker <theshow@gmail.com> * [3.11.1rc1 release process] Building locales * [3.11.1rc1 release process] Bumped version to 3.11.1rc1 * [3.11.1rc1 release process] compilemessages * [3.11.1rc1 release process] compiling new static files * [3.11.1rc1 release process] updating latest docs * Update and rename .rst to 3.11.1.rst * Update 3.11.1.rst * Update index.rst * [3.11.1rc1 release process] Building locales * Update 3.11.1.rst * Update index.rst * Update index.rst * Update index.rst * Update index.rst * Update index.rst * Fix: Allow setup to run before dependencies are installed * Update transifex translations Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> * feat: Add github actions for publishing on pyi (#7438) * Add github actions for publishing on pyi * Fix branch trigger to branch `release/**` * Also run publish to test pypi on develop * build: Release v3.11.1 (#7455) * fix: Build docs always from the current local version (#7472) (#7475) * Fix: Build docs always from local version * Remove local files from requirements.in * Update `make-release` script * Add comments * Sync Makefile * Install docs requirements from the docs folder in github action * Install docs requirements from docs directory for tests * Rebase on repo dir * feat: add download statistics to readme (#7474) * Add download stats to readme * Fix: Downloads at position 1 * Undo: Recover accidentally deleted line. * docs: Added note to publish_pages API docs about it being a generator (#7483) * fix: Link both user and group from global page permissions to change form (#7486) * Better link change list to change form * Add filter for site * Make messages readable in dark mode, remove iOS9 compatibility trick which leads to unnecessary scoll bars (#7485) * fix: replace ' by ′ in fr translation − no more "page d\u0027accueil"! (#7488) * fix: replace ' by ′ in fr translation no more "page d\u0027accueil"! * Remove unnecessary escapes filter where translations {% filter "escapejs" %} ... {% endfilter %} only belongs to situations where data is put into html attributes or js code. Co-authored-by: Fabian Braun <fsbraun@gmx.de> * docs: Update formatting in how-to/install.rst to avoid misunderstanding (#7501) * Update install.rst * Update install.rst * feat: add setting so redirect preserve params (#7489) Added a new setting that allow to configure globally if the django-cms redirects preserving the query parameters. `REDIRECT_PRESERVE_QUERY_PARAMS`. This feature is usefull for example: 1. marketing campains extra parameters, 2. social networks extra parameters like `fbclick`, 3. custom developed parameters, after that page has been moved, the older URLs for that page should preserve the functionality. * improved code readability (#7503) Co-authored-by: Nihal <nihal.r@qburst.com> * feat: add setting to redirect slugs to lowercase (#7509) This commit adds the REDIRECT_TO_LOWERCASE_SLUG option which will cause the cms to redirect requests with an non-lowercase slug if no page with that slug is found. Implements #1324 * docs: Update incomplete color scheme docs (#7512) * fix/merge_errors * Update incomplete color scheme docs * fix typos * fix typos (#7514) * feat: add django 4.2 support (#7481) * revert: test change done earlier * feat: add django 4.2a1 to requirements and to the CI * fix: typo in the test.yml file * fix: update django to the stable * feat: some more updates to get the CI running * fix: two lint related issues * fix: update compatibility matrix to include django 4.2 support * ci: more deprecations in light of upcoming v4 (#7480) * Add deprecation warnings to cms.api * Fix typos --------- Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * ci: introduce ruff in place of flake8 for improved speed (#7504) * revert: test change done earlier * feat: replace flake8 with ruff * fix: code cleanup as per ruff recommendations * fix: cleanup code * fix: use flake-to-ruff to convert our config to ruff.toml file * fix: one more bypass * fix: review feedback * fix: cleanup code for usage dict, list and unnecessary usage Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: broken ci tests * fix: isort issues in the forms.py * fix: explanation of the rules bypass * fix: isort issues * revert: changes to the testcases.py * fix: use ruff to format imports * fix: ignore isort for this file as it causes circular import issues * Update cms/toolbar/toolbar.py Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Update cms/api.py Co-authored-by: Fabian Braun <fsbraun@gmx.de> --------- Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Fabian Braun <fsbraun@gmx.de> * build: release 3.11.2 (#7526) * [3.11.2 release process] Bumped version to 3.11.2 * [3.11.2 release process] compiling new static files * [3.11.2 release process] updating latest docs * Update 3.11.2.rst * Update 3.11.2.rst * Update 3.11.2.rst * Update CHANGELOG.rst * Update 3.11.2.rst * Update CHANGELOG.rst Co-authored-by: Mark Walker <mark@django-cms.org> * Update 3.11.2.rst --------- Co-authored-by: Github Release Action <info@django-cms.org> Co-authored-by: Mark Walker <mark@django-cms.org> * Update README.rst --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Mark Walker <mark.walker@realbuzz.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> Co-authored-by: Jasper <hello@jasperbok.nl> Co-authored-by: Corentin Bettiol <45763865+corentinbettiol@users.noreply.github.com> Co-authored-by: Ivo Branco <ivo.branco@fccn.pt> Co-authored-by: Nihal Rahman <70905551+deepbluesquirrel@users.noreply.github.com> Co-authored-by: Nihal <nihal.r@qburst.com> Co-authored-by: pajowu <pajowu@pajowu.de> Co-authored-by: Danny Waser <79070834+wasertech@users.noreply.github.com> Co-authored-by: Github Release Action <info@django-cms.org>
fsbraun
added a commit
that referenced
this pull request
Apr 25, 2023
* build: Merge release 3.11.2 back into develop (#7528) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * build: Release 3.11.0rc1 (#7326) * [3.11.0 release process] Bumped version to 3.11.0 * [3.11.0 release process] compilemessages * [3.11.0 release process] compiling new static files * [3.11.0 release process] updating latest docs * [3.11.0rc1 release process] Bumped version to 3.11.0rc1 * Added static files * Removed static files of 0.3.11 release * Manually added changes to the upgrade docs * Adjusted upgrade note header * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * ci: Merge develop into release/3.11 (#7350) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * ci: Sync release/3.10.x with develop (#7328) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * Fix for "Permission denied (publickey)" error (#7333) Using https fixes the issue with running the `git clone` command resulting in the error: >git@github.com: Permission denied (publickey). >fatal: Could not read from remote repository. > >Please make sure you have the correct access rights >and the repository exists. * feat: Configurable dark mode (#7329) * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Add: Color scheme configurable * Add: Toolbar toggle (always on) * Add: CMS_COLOR_SCHEME_TOGGLE setting * Add: color scheme toggle test * Fix: Only set color scheme in cms iframes * Add: Basic documentation of new settings * Fix: color scheme switch as css variables * Fix: Cascade settings into iframes of iframes (e.g., cms plugins inside ckeditor) * Fix: no toggle in collapsed toolbar Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: dark mode tweaks and test fixes (requests in context) (#7338) * Fix: toolbar bug 3.10.rc1 * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Upstream change to be able to merge * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Revert "Fix: toolbar bug 3.10.rc1" This reverts commit 592a2b604e8f72b8e9c948e83163394cc6e8fe3d. * Fix: Recommit toolbar fix (??) * Fix: After lint failure: Remove spaces added by PyCharm * Fix: Wizzard button color * Fix: Correct toolbar according to cms_path Fix: Avoid unnecessary toolbar loading * TASK: use isort to sort imports * Fix: Remove unused css rule Fix: Add plugin search bar text did not reflect dark mode * Fix: Toolbar tests to include request object for TextPlugin * Fix: Pass a request (None) for the processors test Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Mark Walker <theshow@gmail.com> * fix: remove fixed width for edit plugin popup (=> autowidth) (#7337) * fix: remove fixed width for edit plugin popup (=> autowidth) Same behavior as new popup * fix: revert bundled js * fix: update changelog * fix: remove trailing comma * fix: Except block using list instead of tuple (#7342) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * fix: Change except catch using list to tuple [#7334] * fix: typo in changelog Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> * feat: add cache ttl extension point (#7299) Adds the setting `CMS_CACHE_LIMIT_TTL_CLASS` that should have a `limit_page_cache_ttl` method that would be called to limit the cache ttl of a page using business logic. Closes #7296 * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes (#7372) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes * Addressing review comment [#7372] Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> (cherry picked from commit 3b2dc101772bbfca75ab51b678a51025d6872b31) * Add release candidate to changelog version * Change 3.11.0rc1 release date to fix `make-changelog` * build: Release 3.11.0 (#7373) * fix: Added language to page cache key (#7354) * Update install.rst (#7368) Remove bug in `python manage.py command` * Updated changelog for 3.11.0 * feat: Release/3.11.1 (#7431) * ci: stale bot added (#7298) * ci: Added codespell (#7355) Co-authored-by: Christian Clauss <cclauss@me.com> * ci: codespell config taken from #7292 * fix: Added language to page cache key (#7354) * ci: Remove a superfluous installation of codespell (#7356) * build: bump django from 3.2.13 to 3.2.14 in /docs (#7358) Bumps [django](https://github.com/django/django) from 3.2.13 to 3.2.14. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.2.13...3.2.14) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * typo (#7360) * Update install.rst (#7368) Remove bug in `python manage.py command` * ci: Flake8 fixes (#7372) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes * Addressing review comment [#7372] Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * build: bump django from 3.2.14 to 3.2.15 in /docs (#7379) Bumps [django](https://github.com/django/django) from 3.2.14 to 3.2.15. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.2.14...3.2.15) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: default light mode (#7381) * ci: Merging release/3.11.0 (#7377) * docs: Bump requirements (#7382) * docs: Bump requirements * docs: Bump python verion used by RTD * docs: Have RTD install from setup.py * chore: Fix spelling errors * docs: build against python 3.8 * docs: try to install from `setup.py` using conf file * docs: Install from pip then setup * ci: Install django-cms from pip again * fix: CMS check management command fixed [#7386] * ci: sync isort line length (#7353) * docs: fixing a link (#7393) * docs: fixing a link misspelled URL * Update CONTRIBUTING.rst Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Mark Walker <theshow@gmail.com> * refactor: Move js API functions to CMS.Helpers to make them available also to the admin site (#7384) Move CMS.API.Toolbar.get_color_scheme to CMS.API.Helpers.getColorScheme and CMS.API.Toolbar.set_color_scheme to CMS.API.Helpers.setColorScheme * fix: Allow partially overriding CMS_CACHE_DURATIONS (#7339) * Allow partially overriding CMS_CACHE_DURATIONS * add doc and changelog Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Adjust paste label in pt-br locale (#7376) * feat: Add support for tel: and mailto: URIs in Advanced Page Settings redirect field (#7370) Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * feat: Add support for tel: and mailto: URIs in Advanced Page Settings redirect field * docs: Correction of headings around CMSPlugin & CMSPluginBase (#7406) * fix: Unlocalize page and node ids when rendering the page tree in the admin (#7188) * #7175: unlocalize page and node ids when rendering the page tree in the admin * Fix flake8 issue * Update the test so as not to have to generate one thousand pages. The downside is that it only works in sqlite * Make isort happy * #7155: extend unlocalisation of pks to a few more templates * #7175: cleanup, dont unlocalize in `if` tags * Update CHANGELOG about #7175 Co-authored-by: Fabian Braun <fsbraun@gmx.de> Co-authored-by: Mark Walker <mark@django-cms.org> * fix: Clear page permission cache on page create (#6866) * Clear page permission cache on page create * Correct changelog entry * Update test_add_page.py * Update CHANGELOG.rst Co-authored-by: Mark Walker <theshow@gmail.com> * fix: Changing color scheme resets session settings to defaults (#7407) * Fix: incorrect saveing of color scheme in CMS.settings * Add: changelog entry :-) * ci: Added pre-commit ci config (#7409) * perf: Don't count users when CMS_RAW_ID_USERS=True (#7414) * perf: Don't count users when CMS_RAW_ID_USERS=True When using CMS_RAW_ID_USERS=True on a Postgres database with many users, counting the users is slow and will always yield the same result. Only count users when using an integer value as a threshold and reuse the same logic for both PagePermissionInlineAdmin and GlobalPagePermissionAdmin. * Ensure that only integer settings of CMS_RAW_ID_USERS are compared to the number of users * Add documentation for the CMS_RAW_ID_USER=True setting * fix isort for added tests * Fix: in python this is always True: isinstance(False, int) Co-authored-by: Pankrat <lhaehne@gmail.com> * fix: CMS check management command fixed [#7412] (#7413) * fix: CMS check management command fixed [#7412] Co-authored-by: jefe <me@myself.ai> * ci: Some tests misusing assertTrue for comparisons fix (#7241) * Fix issue avoid-misusing-assert-true found at https://codereview.doctor * feat: Support for Django 4.1 (#7404) * support: Django 4.1 * Fix: apphook test * Run tests on all databases Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Mark Walker <theshow@gmail.com> * build: bump django from 3.2.15 to 3.2.16 in /docs (#7417) * build: bump minimatch and gulp-if (#7416) Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.0.4 and updates ancestor dependency [gulp-if](https://github.com/robrich/gulp-if). These dependencies need to be updated together. Updates `minimatch` from 1.0.0 to 3.0.4 - [Release notes](https://github.com/isaacs/minimatch/releases) - [Commits](https://github.com/isaacs/minimatch/compare/v1.0.0...v3.0.4) Updates `gulp-if` from 1.2.5 to 3.0.0 - [Release notes](https://github.com/robrich/gulp-if/releases) - [Commits](https://github.com/robrich/gulp-if/commits/3.0.0) --- updated-dependencies: - dependency-name: minimatch dependency-type: indirect - dependency-name: gulp-if dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fabian Braun <fsbraun@gmx.de> * fix: Added deprecation warning to `get_current_language()` (#7410) * fix: Added deprecation warning to `cms.utils.i18n.get_current_language()` * fix: Added deprecation warning to `cms.utils.i18n.get_current_language()` * Added stack level to deprecation warning Co-authored-by: Fabian Braun <fsbraun@gmx.de> * feat: add Python 3.11 support for Django CMS (#7422) * fix: test python3.11 Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: Adds a deprecation warning for SEND_BROKEN_LINK_EMAILS (#7420) * Fix: toolbar bug 3.10.rc1 * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Upstream change to be able to merge * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Revert "Fix: toolbar bug 3.10.rc1" This reverts commit 592a2b604e8f72b8e9c948e83163394cc6e8fe3d. * Fix: Recommit toolbar fix (??) * Fix: After lint failure: Remove spaces added by PyCharm * Fix: Wizzard button color * Fix: Correct toolbar according to cms_path Fix: Avoid unnecessary toolbar loading * TASK: use isort to sort imports * Fix: Move CMS.API.Toolbar.get_color_scheme to CMS.API.Helpers.getColorScheme and CMS.API.Toolbar.set_color_scheme to CMS.API.Helpers.setColorScheme * Fix: Typo in comment * Fix: Typos in comments * Fix: Typos in comments * Add: Changelog entry * Fix: base unit test for js frontend * Add: Basic set/get color scheme test * fix: deprecate SEND_BROKEN_LINK_EMAILS setting * fix: flake8 w504 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Mark Walker <theshow@gmail.com> * fix: Prefer titles matching request language (#7144) * prefer titles matching request language * add comments on use of annotate * fix wayward imports * Add changelog entry Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Mark Walker <theshow@gmail.com> * [3.11.1rc1 release process] Building locales * [3.11.1rc1 release process] Bumped version to 3.11.1rc1 * [3.11.1rc1 release process] compilemessages * [3.11.1rc1 release process] compiling new static files * [3.11.1rc1 release process] updating latest docs * Update and rename .rst to 3.11.1.rst * Update 3.11.1.rst * Update index.rst * [3.11.1rc1 release process] Building locales * Update 3.11.1.rst * Update index.rst * Update index.rst * Update index.rst * Update index.rst * Update index.rst * Fix: Allow setup to run before dependencies are installed * Update transifex translations Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> * feat: Add github actions for publishing on pyi (#7438) * Add github actions for publishing on pyi * Fix branch trigger to branch `release/**` * Also run publish to test pypi on develop * build: Release v3.11.1 (#7455) * fix: Build docs always from the current local version (#7472) (#7475) * Fix: Build docs always from local version * Remove local files from requirements.in * Update `make-release` script * Add comments * Sync Makefile * Install docs requirements from the docs folder in github action * Install docs requirements from docs directory for tests * Rebase on repo dir * feat: add download statistics to readme (#7474) * Add download stats to readme * Fix: Downloads at position 1 * Undo: Recover accidentally deleted line. * docs: Added note to publish_pages API docs about it being a generator (#7483) * fix: Link both user and group from global page permissions to change form (#7486) * Better link change list to change form * Add filter for site * Make messages readable in dark mode, remove iOS9 compatibility trick which leads to unnecessary scoll bars (#7485) * fix: replace ' by ′ in fr translation − no more "page d\u0027accueil"! (#7488) * fix: replace ' by ′ in fr translation no more "page d\u0027accueil"! * Remove unnecessary escapes filter where translations {% filter "escapejs" %} ... {% endfilter %} only belongs to situations where data is put into html attributes or js code. Co-authored-by: Fabian Braun <fsbraun@gmx.de> * docs: Update formatting in how-to/install.rst to avoid misunderstanding (#7501) * Update install.rst * Update install.rst * feat: add setting so redirect preserve params (#7489) Added a new setting that allow to configure globally if the django-cms redirects preserving the query parameters. `REDIRECT_PRESERVE_QUERY_PARAMS`. This feature is usefull for example: 1. marketing campains extra parameters, 2. social networks extra parameters like `fbclick`, 3. custom developed parameters, after that page has been moved, the older URLs for that page should preserve the functionality. * improved code readability (#7503) Co-authored-by: Nihal <nihal.r@qburst.com> * feat: add setting to redirect slugs to lowercase (#7509) This commit adds the REDIRECT_TO_LOWERCASE_SLUG option which will cause the cms to redirect requests with an non-lowercase slug if no page with that slug is found. Implements #1324 * docs: Update incomplete color scheme docs (#7512) * fix/merge_errors * Update incomplete color scheme docs * fix typos * fix typos (#7514) * feat: add django 4.2 support (#7481) * revert: test change done earlier * feat: add django 4.2a1 to requirements and to the CI * fix: typo in the test.yml file * fix: update django to the stable * feat: some more updates to get the CI running * fix: two lint related issues * fix: update compatibility matrix to include django 4.2 support * ci: more deprecations in light of upcoming v4 (#7480) * Add deprecation warnings to cms.api * Fix typos --------- Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * ci: introduce ruff in place of flake8 for improved speed (#7504) * revert: test change done earlier * feat: replace flake8 with ruff * fix: code cleanup as per ruff recommendations * fix: cleanup code * fix: use flake-to-ruff to convert our config to ruff.toml file * fix: one more bypass * fix: review feedback * fix: cleanup code for usage dict, list and unnecessary usage Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: broken ci tests * fix: isort issues in the forms.py * fix: explanation of the rules bypass * fix: isort issues * revert: changes to the testcases.py * fix: use ruff to format imports * fix: ignore isort for this file as it causes circular import issues * Update cms/toolbar/toolbar.py Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Update cms/api.py Co-authored-by: Fabian Braun <fsbraun@gmx.de> --------- Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Fabian Braun <fsbraun@gmx.de> * build: release 3.11.2 (#7526) * [3.11.2 release process] Bumped version to 3.11.2 * [3.11.2 release process] compiling new static files * [3.11.2 release process] updating latest docs * Update 3.11.2.rst * Update 3.11.2.rst * Update 3.11.2.rst * Update CHANGELOG.rst * Update 3.11.2.rst * Update CHANGELOG.rst Co-authored-by: Mark Walker <mark@django-cms.org> * Update 3.11.2.rst --------- Co-authored-by: Github Release Action <info@django-cms.org> Co-authored-by: Mark Walker <mark@django-cms.org> * Update README.rst --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Mark Walker <mark.walker@realbuzz.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> Co-authored-by: Jasper <hello@jasperbok.nl> Co-authored-by: Corentin Bettiol <45763865+corentinbettiol@users.noreply.github.com> Co-authored-by: Ivo Branco <ivo.branco@fccn.pt> Co-authored-by: Nihal Rahman <70905551+deepbluesquirrel@users.noreply.github.com> Co-authored-by: Nihal <nihal.r@qburst.com> Co-authored-by: pajowu <pajowu@pajowu.de> Co-authored-by: Danny Waser <79070834+wasertech@users.noreply.github.com> Co-authored-by: Github Release Action <info@django-cms.org> * FIX: remove curly bracket left behind on PR 7488 (#7529) see this comment for more infos: https://github.com/django-cms/django-cms/pull/7488\#issuecomment-1513517082 * fix: lint menus app (#7534) * feat: add support for testing menus with ruff as well * fix: autofix issues with ruff * Fix #6848 (#7535) Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Mark Walker <mark.walker@realbuzz.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> Co-authored-by: Jasper <hello@jasperbok.nl> Co-authored-by: Corentin Bettiol <45763865+corentinbettiol@users.noreply.github.com> Co-authored-by: Ivo Branco <ivo.branco@fccn.pt> Co-authored-by: Nihal Rahman <70905551+deepbluesquirrel@users.noreply.github.com> Co-authored-by: Nihal <nihal.r@qburst.com> Co-authored-by: pajowu <pajowu@pajowu.de> Co-authored-by: Danny Waser <79070834+wasertech@users.noreply.github.com> Co-authored-by: Github Release Action <info@django-cms.org>
fsbraun
added a commit
that referenced
this pull request
Apr 25, 2023
* Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * build: Release 3.11.0rc1 (#7326) * [3.11.0 release process] Bumped version to 3.11.0 * [3.11.0 release process] compilemessages * [3.11.0 release process] compiling new static files * [3.11.0 release process] updating latest docs * [3.11.0rc1 release process] Bumped version to 3.11.0rc1 * Added static files * Removed static files of 0.3.11 release * Manually added changes to the upgrade docs * Adjusted upgrade note header * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * ci: Merge develop into release/3.11 (#7350) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * ci: Sync release/3.10.x with develop (#7328) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * Fix for "Permission denied (publickey)" error (#7333) Using https fixes the issue with running the `git clone` command resulting in the error: >git@github.com: Permission denied (publickey). >fatal: Could not read from remote repository. > >Please make sure you have the correct access rights >and the repository exists. * feat: Configurable dark mode (#7329) * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Add: Color scheme configurable * Add: Toolbar toggle (always on) * Add: CMS_COLOR_SCHEME_TOGGLE setting * Add: color scheme toggle test * Fix: Only set color scheme in cms iframes * Add: Basic documentation of new settings * Fix: color scheme switch as css variables * Fix: Cascade settings into iframes of iframes (e.g., cms plugins inside ckeditor) * Fix: no toggle in collapsed toolbar Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: dark mode tweaks and test fixes (requests in context) (#7338) * Fix: toolbar bug 3.10.rc1 * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Upstream change to be able to merge * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Revert "Fix: toolbar bug 3.10.rc1" This reverts commit 592a2b604e8f72b8e9c948e83163394cc6e8fe3d. * Fix: Recommit toolbar fix (??) * Fix: After lint failure: Remove spaces added by PyCharm * Fix: Wizzard button color * Fix: Correct toolbar according to cms_path Fix: Avoid unnecessary toolbar loading * TASK: use isort to sort imports * Fix: Remove unused css rule Fix: Add plugin search bar text did not reflect dark mode * Fix: Toolbar tests to include request object for TextPlugin * Fix: Pass a request (None) for the processors test Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Mark Walker <theshow@gmail.com> * fix: remove fixed width for edit plugin popup (=> autowidth) (#7337) * fix: remove fixed width for edit plugin popup (=> autowidth) Same behavior as new popup * fix: revert bundled js * fix: update changelog * fix: remove trailing comma * fix: Except block using list instead of tuple (#7342) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * fix: Change except catch using list to tuple [#7334] * fix: typo in changelog Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> * feat: add cache ttl extension point (#7299) Adds the setting `CMS_CACHE_LIMIT_TTL_CLASS` that should have a `limit_page_cache_ttl` method that would be called to limit the cache ttl of a page using business logic. Closes #7296 * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes (#7372) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes * Addressing review comment [#7372] Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> (cherry picked from commit 3b2dc101772bbfca75ab51b678a51025d6872b31) * Add release candidate to changelog version * Change 3.11.0rc1 release date to fix `make-changelog` * build: Release 3.11.0 (#7373) * fix: Added language to page cache key (#7354) * Update install.rst (#7368) Remove bug in `python manage.py command` * Updated changelog for 3.11.0 * feat: Release/3.11.1 (#7431) * ci: stale bot added (#7298) * ci: Added codespell (#7355) Co-authored-by: Christian Clauss <cclauss@me.com> * ci: codespell config taken from #7292 * fix: Added language to page cache key (#7354) * ci: Remove a superfluous installation of codespell (#7356) * build: bump django from 3.2.13 to 3.2.14 in /docs (#7358) Bumps [django](https://github.com/django/django) from 3.2.13 to 3.2.14. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.2.13...3.2.14) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * typo (#7360) * Update install.rst (#7368) Remove bug in `python manage.py command` * ci: Flake8 fixes (#7372) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes * Addressing review comment [#7372] Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * build: bump django from 3.2.14 to 3.2.15 in /docs (#7379) Bumps [django](https://github.com/django/django) from 3.2.14 to 3.2.15. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.2.14...3.2.15) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: default light mode (#7381) * ci: Merging release/3.11.0 (#7377) * docs: Bump requirements (#7382) * docs: Bump requirements * docs: Bump python verion used by RTD * docs: Have RTD install from setup.py * chore: Fix spelling errors * docs: build against python 3.8 * docs: try to install from `setup.py` using conf file * docs: Install from pip then setup * ci: Install django-cms from pip again * fix: CMS check management command fixed [#7386] * ci: sync isort line length (#7353) * docs: fixing a link (#7393) * docs: fixing a link misspelled URL * Update CONTRIBUTING.rst Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Mark Walker <theshow@gmail.com> * refactor: Move js API functions to CMS.Helpers to make them available also to the admin site (#7384) Move CMS.API.Toolbar.get_color_scheme to CMS.API.Helpers.getColorScheme and CMS.API.Toolbar.set_color_scheme to CMS.API.Helpers.setColorScheme * fix: Allow partially overriding CMS_CACHE_DURATIONS (#7339) * Allow partially overriding CMS_CACHE_DURATIONS * add doc and changelog Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Adjust paste label in pt-br locale (#7376) * feat: Add support for tel: and mailto: URIs in Advanced Page Settings redirect field (#7370) Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * feat: Add support for tel: and mailto: URIs in Advanced Page Settings redirect field * docs: Correction of headings around CMSPlugin & CMSPluginBase (#7406) * fix: Unlocalize page and node ids when rendering the page tree in the admin (#7188) * #7175: unlocalize page and node ids when rendering the page tree in the admin * Fix flake8 issue * Update the test so as not to have to generate one thousand pages. The downside is that it only works in sqlite * Make isort happy * #7155: extend unlocalisation of pks to a few more templates * #7175: cleanup, dont unlocalize in `if` tags * Update CHANGELOG about #7175 Co-authored-by: Fabian Braun <fsbraun@gmx.de> Co-authored-by: Mark Walker <mark@django-cms.org> * fix: Clear page permission cache on page create (#6866) * Clear page permission cache on page create * Correct changelog entry * Update test_add_page.py * Update CHANGELOG.rst Co-authored-by: Mark Walker <theshow@gmail.com> * fix: Changing color scheme resets session settings to defaults (#7407) * Fix: incorrect saveing of color scheme in CMS.settings * Add: changelog entry :-) * ci: Added pre-commit ci config (#7409) * perf: Don't count users when CMS_RAW_ID_USERS=True (#7414) * perf: Don't count users when CMS_RAW_ID_USERS=True When using CMS_RAW_ID_USERS=True on a Postgres database with many users, counting the users is slow and will always yield the same result. Only count users when using an integer value as a threshold and reuse the same logic for both PagePermissionInlineAdmin and GlobalPagePermissionAdmin. * Ensure that only integer settings of CMS_RAW_ID_USERS are compared to the number of users * Add documentation for the CMS_RAW_ID_USER=True setting * fix isort for added tests * Fix: in python this is always True: isinstance(False, int) Co-authored-by: Pankrat <lhaehne@gmail.com> * fix: CMS check management command fixed [#7412] (#7413) * fix: CMS check management command fixed [#7412] Co-authored-by: jefe <me@myself.ai> * ci: Some tests misusing assertTrue for comparisons fix (#7241) * Fix issue avoid-misusing-assert-true found at https://codereview.doctor * feat: Support for Django 4.1 (#7404) * support: Django 4.1 * Fix: apphook test * Run tests on all databases Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Mark Walker <theshow@gmail.com> * build: bump django from 3.2.15 to 3.2.16 in /docs (#7417) * build: bump minimatch and gulp-if (#7416) Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.0.4 and updates ancestor dependency [gulp-if](https://github.com/robrich/gulp-if). These dependencies need to be updated together. Updates `minimatch` from 1.0.0 to 3.0.4 - [Release notes](https://github.com/isaacs/minimatch/releases) - [Commits](https://github.com/isaacs/minimatch/compare/v1.0.0...v3.0.4) Updates `gulp-if` from 1.2.5 to 3.0.0 - [Release notes](https://github.com/robrich/gulp-if/releases) - [Commits](https://github.com/robrich/gulp-if/commits/3.0.0) --- updated-dependencies: - dependency-name: minimatch dependency-type: indirect - dependency-name: gulp-if dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fabian Braun <fsbraun@gmx.de> * fix: Added deprecation warning to `get_current_language()` (#7410) * fix: Added deprecation warning to `cms.utils.i18n.get_current_language()` * fix: Added deprecation warning to `cms.utils.i18n.get_current_language()` * Added stack level to deprecation warning Co-authored-by: Fabian Braun <fsbraun@gmx.de> * feat: add Python 3.11 support for Django CMS (#7422) * fix: test python3.11 Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: Adds a deprecation warning for SEND_BROKEN_LINK_EMAILS (#7420) * Fix: toolbar bug 3.10.rc1 * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Upstream change to be able to merge * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Revert "Fix: toolbar bug 3.10.rc1" This reverts commit 592a2b604e8f72b8e9c948e83163394cc6e8fe3d. * Fix: Recommit toolbar fix (??) * Fix: After lint failure: Remove spaces added by PyCharm * Fix: Wizzard button color * Fix: Correct toolbar according to cms_path Fix: Avoid unnecessary toolbar loading * TASK: use isort to sort imports * Fix: Move CMS.API.Toolbar.get_color_scheme to CMS.API.Helpers.getColorScheme and CMS.API.Toolbar.set_color_scheme to CMS.API.Helpers.setColorScheme * Fix: Typo in comment * Fix: Typos in comments * Fix: Typos in comments * Add: Changelog entry * Fix: base unit test for js frontend * Add: Basic set/get color scheme test * fix: deprecate SEND_BROKEN_LINK_EMAILS setting * fix: flake8 w504 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Mark Walker <theshow@gmail.com> * fix: Prefer titles matching request language (#7144) * prefer titles matching request language * add comments on use of annotate * fix wayward imports * Add changelog entry Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Mark Walker <theshow@gmail.com> * [3.11.1rc1 release process] Building locales * [3.11.1rc1 release process] Bumped version to 3.11.1rc1 * [3.11.1rc1 release process] compilemessages * [3.11.1rc1 release process] compiling new static files * [3.11.1rc1 release process] updating latest docs * Update and rename .rst to 3.11.1.rst * Update 3.11.1.rst * Update index.rst * [3.11.1rc1 release process] Building locales * Update 3.11.1.rst * Update index.rst * Update index.rst * Update index.rst * Update index.rst * Update index.rst * Fix: Allow setup to run before dependencies are installed * Update transifex translations Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> * feat: Add github actions for publishing on pyi (#7438) * Add github actions for publishing on pyi * Fix branch trigger to branch `release/**` * Also run publish to test pypi on develop * build: Release v3.11.1 (#7455) * fix: Build docs always from the current local version (#7472) (#7475) * Fix: Build docs always from local version * Remove local files from requirements.in * Update `make-release` script * Add comments * Sync Makefile * Install docs requirements from the docs folder in github action * Install docs requirements from docs directory for tests * Rebase on repo dir * feat: add download statistics to readme (#7474) * Add download stats to readme * Fix: Downloads at position 1 * Undo: Recover accidentally deleted line. * docs: Added note to publish_pages API docs about it being a generator (#7483) * fix: Link both user and group from global page permissions to change form (#7486) * Better link change list to change form * Add filter for site * Make messages readable in dark mode, remove iOS9 compatibility trick which leads to unnecessary scoll bars (#7485) * fix: replace ' by ′ in fr translation − no more "page d\u0027accueil"! (#7488) * fix: replace ' by ′ in fr translation no more "page d\u0027accueil"! * Remove unnecessary escapes filter where translations {% filter "escapejs" %} ... {% endfilter %} only belongs to situations where data is put into html attributes or js code. Co-authored-by: Fabian Braun <fsbraun@gmx.de> * docs: Update formatting in how-to/install.rst to avoid misunderstanding (#7501) * Update install.rst * Update install.rst * feat: add setting so redirect preserve params (#7489) Added a new setting that allow to configure globally if the django-cms redirects preserving the query parameters. `REDIRECT_PRESERVE_QUERY_PARAMS`. This feature is usefull for example: 1. marketing campains extra parameters, 2. social networks extra parameters like `fbclick`, 3. custom developed parameters, after that page has been moved, the older URLs for that page should preserve the functionality. * improved code readability (#7503) Co-authored-by: Nihal <nihal.r@qburst.com> * feat: add setting to redirect slugs to lowercase (#7509) This commit adds the REDIRECT_TO_LOWERCASE_SLUG option which will cause the cms to redirect requests with an non-lowercase slug if no page with that slug is found. Implements #1324 * docs: Update incomplete color scheme docs (#7512) * fix/merge_errors * Update incomplete color scheme docs * fix typos * fix typos (#7514) * feat: add django 4.2 support (#7481) * revert: test change done earlier * feat: add django 4.2a1 to requirements and to the CI * fix: typo in the test.yml file * fix: update django to the stable * feat: some more updates to get the CI running * fix: two lint related issues * fix: update compatibility matrix to include django 4.2 support * ci: more deprecations in light of upcoming v4 (#7480) * Add deprecation warnings to cms.api * Fix typos --------- Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * ci: introduce ruff in place of flake8 for improved speed (#7504) * revert: test change done earlier * feat: replace flake8 with ruff * fix: code cleanup as per ruff recommendations * fix: cleanup code * fix: use flake-to-ruff to convert our config to ruff.toml file * fix: one more bypass * fix: review feedback * fix: cleanup code for usage dict, list and unnecessary usage Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: broken ci tests * fix: isort issues in the forms.py * fix: explanation of the rules bypass * fix: isort issues * revert: changes to the testcases.py * fix: use ruff to format imports * fix: ignore isort for this file as it causes circular import issues * Update cms/toolbar/toolbar.py Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Update cms/api.py Co-authored-by: Fabian Braun <fsbraun@gmx.de> --------- Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Fabian Braun <fsbraun@gmx.de> * build: release 3.11.2 (#7526) * [3.11.2 release process] Bumped version to 3.11.2 * [3.11.2 release process] compiling new static files * [3.11.2 release process] updating latest docs * Update 3.11.2.rst * Update 3.11.2.rst * Update 3.11.2.rst * Update CHANGELOG.rst * Update 3.11.2.rst * Update CHANGELOG.rst Co-authored-by: Mark Walker <mark@django-cms.org> * Update 3.11.2.rst --------- Co-authored-by: Github Release Action <info@django-cms.org> Co-authored-by: Mark Walker <mark@django-cms.org> * Update README.rst * build: merge develop into release/3.11.x (#7539) * build: Merge release 3.11.2 back into develop (#7528) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * build: Release 3.11.0rc1 (#7326) * [3.11.0 release process] Bumped version to 3.11.0 * [3.11.0 release process] compilemessages * [3.11.0 release process] compiling new static files * [3.11.0 release process] updating latest docs * [3.11.0rc1 release process] Bumped version to 3.11.0rc1 * Added static files * Removed static files of 0.3.11 release * Manually added changes to the upgrade docs * Adjusted upgrade note header * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * ci: Merge develop into release/3.11 (#7350) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * ci: Sync release/3.10.x with develop (#7328) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * Fix for "Permission denied (publickey)" error (#7333) Using https fixes the issue with running the `git clone` command resulting in the error: >git@github.com: Permission denied (publickey). >fatal: Could not read from remote repository. > >Please make sure you have the correct access rights >and the repository exists. * feat: Configurable dark mode (#7329) * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Add: Color scheme configurable * Add: Toolbar toggle …
fsbraun
added a commit
that referenced
this pull request
May 11, 2023
…dark mode (#7549) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * build: Release 3.11.0rc1 (#7326) * [3.11.0 release process] Bumped version to 3.11.0 * [3.11.0 release process] compilemessages * [3.11.0 release process] compiling new static files * [3.11.0 release process] updating latest docs * [3.11.0rc1 release process] Bumped version to 3.11.0rc1 * Added static files * Removed static files of 0.3.11 release * Manually added changes to the upgrade docs * Adjusted upgrade note header * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * ci: Merge develop into release/3.11 (#7350) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * ci: Sync release/3.10.x with develop (#7328) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * Fix for "Permission denied (publickey)" error (#7333) Using https fixes the issue with running the `git clone` command resulting in the error: >git@github.com: Permission denied (publickey). >fatal: Could not read from remote repository. > >Please make sure you have the correct access rights >and the repository exists. * feat: Configurable dark mode (#7329) * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Add: Color scheme configurable * Add: Toolbar toggle (always on) * Add: CMS_COLOR_SCHEME_TOGGLE setting * Add: color scheme toggle test * Fix: Only set color scheme in cms iframes * Add: Basic documentation of new settings * Fix: color scheme switch as css variables * Fix: Cascade settings into iframes of iframes (e.g., cms plugins inside ckeditor) * Fix: no toggle in collapsed toolbar Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: dark mode tweaks and test fixes (requests in context) (#7338) * Fix: toolbar bug 3.10.rc1 * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Upstream change to be able to merge * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Revert "Fix: toolbar bug 3.10.rc1" This reverts commit 592a2b604e8f72b8e9c948e83163394cc6e8fe3d. * Fix: Recommit toolbar fix (??) * Fix: After lint failure: Remove spaces added by PyCharm * Fix: Wizzard button color * Fix: Correct toolbar according to cms_path Fix: Avoid unnecessary toolbar loading * TASK: use isort to sort imports * Fix: Remove unused css rule Fix: Add plugin search bar text did not reflect dark mode * Fix: Toolbar tests to include request object for TextPlugin * Fix: Pass a request (None) for the processors test Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Mark Walker <theshow@gmail.com> * fix: remove fixed width for edit plugin popup (=> autowidth) (#7337) * fix: remove fixed width for edit plugin popup (=> autowidth) Same behavior as new popup * fix: revert bundled js * fix: update changelog * fix: remove trailing comma * fix: Except block using list instead of tuple (#7342) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * fix: Change except catch using list to tuple [#7334] * fix: typo in changelog Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> * feat: add cache ttl extension point (#7299) Adds the setting `CMS_CACHE_LIMIT_TTL_CLASS` that should have a `limit_page_cache_ttl` method that would be called to limit the cache ttl of a page using business logic. Closes #7296 * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes (#7372) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes * Addressing review comment [#7372] Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> (cherry picked from commit 3b2dc101772bbfca75ab51b678a51025d6872b31) * Add release candidate to changelog version * Change 3.11.0rc1 release date to fix `make-changelog` * build: Release 3.11.0 (#7373) * fix: Added language to page cache key (#7354) * Update install.rst (#7368) Remove bug in `python manage.py command` * Updated changelog for 3.11.0 * feat: Release/3.11.1 (#7431) * ci: stale bot added (#7298) * ci: Added codespell (#7355) Co-authored-by: Christian Clauss <cclauss@me.com> * ci: codespell config taken from #7292 * fix: Added language to page cache key (#7354) * ci: Remove a superfluous installation of codespell (#7356) * build: bump django from 3.2.13 to 3.2.14 in /docs (#7358) Bumps [django](https://github.com/django/django) from 3.2.13 to 3.2.14. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.2.13...3.2.14) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * typo (#7360) * Update install.rst (#7368) Remove bug in `python manage.py command` * ci: Flake8 fixes (#7372) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes * Addressing review comment [#7372] Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * build: bump django from 3.2.14 to 3.2.15 in /docs (#7379) Bumps [django](https://github.com/django/django) from 3.2.14 to 3.2.15. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.2.14...3.2.15) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: default light mode (#7381) * ci: Merging release/3.11.0 (#7377) * docs: Bump requirements (#7382) * docs: Bump requirements * docs: Bump python verion used by RTD * docs: Have RTD install from setup.py * chore: Fix spelling errors * docs: build against python 3.8 * docs: try to install from `setup.py` using conf file * docs: Install from pip then setup * ci: Install django-cms from pip again * fix: CMS check management command fixed [#7386] * ci: sync isort line length (#7353) * docs: fixing a link (#7393) * docs: fixing a link misspelled URL * Update CONTRIBUTING.rst Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Mark Walker <theshow@gmail.com> * refactor: Move js API functions to CMS.Helpers to make them available also to the admin site (#7384) Move CMS.API.Toolbar.get_color_scheme to CMS.API.Helpers.getColorScheme and CMS.API.Toolbar.set_color_scheme to CMS.API.Helpers.setColorScheme * fix: Allow partially overriding CMS_CACHE_DURATIONS (#7339) * Allow partially overriding CMS_CACHE_DURATIONS * add doc and changelog Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Adjust paste label in pt-br locale (#7376) * feat: Add support for tel: and mailto: URIs in Advanced Page Settings redirect field (#7370) Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * feat: Add support for tel: and mailto: URIs in Advanced Page Settings redirect field * docs: Correction of headings around CMSPlugin & CMSPluginBase (#7406) * fix: Unlocalize page and node ids when rendering the page tree in the admin (#7188) * #7175: unlocalize page and node ids when rendering the page tree in the admin * Fix flake8 issue * Update the test so as not to have to generate one thousand pages. The downside is that it only works in sqlite * Make isort happy * #7155: extend unlocalisation of pks to a few more templates * #7175: cleanup, dont unlocalize in `if` tags * Update CHANGELOG about #7175 Co-authored-by: Fabian Braun <fsbraun@gmx.de> Co-authored-by: Mark Walker <mark@django-cms.org> * fix: Clear page permission cache on page create (#6866) * Clear page permission cache on page create * Correct changelog entry * Update test_add_page.py * Update CHANGELOG.rst Co-authored-by: Mark Walker <theshow@gmail.com> * fix: Changing color scheme resets session settings to defaults (#7407) * Fix: incorrect saveing of color scheme in CMS.settings * Add: changelog entry :-) * ci: Added pre-commit ci config (#7409) * perf: Don't count users when CMS_RAW_ID_USERS=True (#7414) * perf: Don't count users when CMS_RAW_ID_USERS=True When using CMS_RAW_ID_USERS=True on a Postgres database with many users, counting the users is slow and will always yield the same result. Only count users when using an integer value as a threshold and reuse the same logic for both PagePermissionInlineAdmin and GlobalPagePermissionAdmin. * Ensure that only integer settings of CMS_RAW_ID_USERS are compared to the number of users * Add documentation for the CMS_RAW_ID_USER=True setting * fix isort for added tests * Fix: in python this is always True: isinstance(False, int) Co-authored-by: Pankrat <lhaehne@gmail.com> * fix: CMS check management command fixed [#7412] (#7413) * fix: CMS check management command fixed [#7412] Co-authored-by: jefe <me@myself.ai> * ci: Some tests misusing assertTrue for comparisons fix (#7241) * Fix issue avoid-misusing-assert-true found at https://codereview.doctor * feat: Support for Django 4.1 (#7404) * support: Django 4.1 * Fix: apphook test * Run tests on all databases Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Mark Walker <theshow@gmail.com> * build: bump django from 3.2.15 to 3.2.16 in /docs (#7417) * build: bump minimatch and gulp-if (#7416) Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.0.4 and updates ancestor dependency [gulp-if](https://github.com/robrich/gulp-if). These dependencies need to be updated together. Updates `minimatch` from 1.0.0 to 3.0.4 - [Release notes](https://github.com/isaacs/minimatch/releases) - [Commits](https://github.com/isaacs/minimatch/compare/v1.0.0...v3.0.4) Updates `gulp-if` from 1.2.5 to 3.0.0 - [Release notes](https://github.com/robrich/gulp-if/releases) - [Commits](https://github.com/robrich/gulp-if/commits/3.0.0) --- updated-dependencies: - dependency-name: minimatch dependency-type: indirect - dependency-name: gulp-if dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fabian Braun <fsbraun@gmx.de> * fix: Added deprecation warning to `get_current_language()` (#7410) * fix: Added deprecation warning to `cms.utils.i18n.get_current_language()` * fix: Added deprecation warning to `cms.utils.i18n.get_current_language()` * Added stack level to deprecation warning Co-authored-by: Fabian Braun <fsbraun@gmx.de> * feat: add Python 3.11 support for Django CMS (#7422) * fix: test python3.11 Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: Adds a deprecation warning for SEND_BROKEN_LINK_EMAILS (#7420) * Fix: toolbar bug 3.10.rc1 * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Upstream change to be able to merge * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Revert "Fix: toolbar bug 3.10.rc1" This reverts commit 592a2b604e8f72b8e9c948e83163394cc6e8fe3d. * Fix: Recommit toolbar fix (??) * Fix: After lint failure: Remove spaces added by PyCharm * Fix: Wizzard button color * Fix: Correct toolbar according to cms_path Fix: Avoid unnecessary toolbar loading * TASK: use isort to sort imports * Fix: Move CMS.API.Toolbar.get_color_scheme to CMS.API.Helpers.getColorScheme and CMS.API.Toolbar.set_color_scheme to CMS.API.Helpers.setColorScheme * Fix: Typo in comment * Fix: Typos in comments * Fix: Typos in comments * Add: Changelog entry * Fix: base unit test for js frontend * Add: Basic set/get color scheme test * fix: deprecate SEND_BROKEN_LINK_EMAILS setting * fix: flake8 w504 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Mark Walker <theshow@gmail.com> * fix: Prefer titles matching request language (#7144) * prefer titles matching request language * add comments on use of annotate * fix wayward imports * Add changelog entry Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Mark Walker <theshow@gmail.com> * [3.11.1rc1 release process] Building locales * [3.11.1rc1 release process] Bumped version to 3.11.1rc1 * [3.11.1rc1 release process] compilemessages * [3.11.1rc1 release process] compiling new static files * [3.11.1rc1 release process] updating latest docs * Update and rename .rst to 3.11.1.rst * Update 3.11.1.rst * Update index.rst * [3.11.1rc1 release process] Building locales * Update 3.11.1.rst * Update index.rst * Update index.rst * Update index.rst * Update index.rst * Update index.rst * Fix: Allow setup to run before dependencies are installed * Update transifex translations Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> * feat: Add github actions for publishing on pyi (#7438) * Add github actions for publishing on pyi * Fix branch trigger to branch `release/**` * Also run publish to test pypi on develop * build: Release v3.11.1 (#7455) * fix: Build docs always from the current local version (#7472) (#7475) * Fix: Build docs always from local version * Remove local files from requirements.in * Update `make-release` script * Add comments * Sync Makefile * Install docs requirements from the docs folder in github action * Install docs requirements from docs directory for tests * Rebase on repo dir * feat: add download statistics to readme (#7474) * Add download stats to readme * Fix: Downloads at position 1 * Undo: Recover accidentally deleted line. * docs: Added note to publish_pages API docs about it being a generator (#7483) * fix: Link both user and group from global page permissions to change form (#7486) * Better link change list to change form * Add filter for site * Make messages readable in dark mode, remove iOS9 compatibility trick which leads to unnecessary scoll bars (#7485) * fix: replace ' by ′ in fr translation − no more "page d\u0027accueil"! (#7488) * fix: replace ' by ′ in fr translation no more "page d\u0027accueil"! * Remove unnecessary escapes filter where translations {% filter "escapejs" %} ... {% endfilter %} only belongs to situations where data is put into html attributes or js code. Co-authored-by: Fabian Braun <fsbraun@gmx.de> * docs: Update formatting in how-to/install.rst to avoid misunderstanding (#7501) * Update install.rst * Update install.rst * feat: add setting so redirect preserve params (#7489) Added a new setting that allow to configure globally if the django-cms redirects preserving the query parameters. `REDIRECT_PRESERVE_QUERY_PARAMS`. This feature is usefull for example: 1. marketing campains extra parameters, 2. social networks extra parameters like `fbclick`, 3. custom developed parameters, after that page has been moved, the older URLs for that page should preserve the functionality. * improved code readability (#7503) Co-authored-by: Nihal <nihal.r@qburst.com> * feat: add setting to redirect slugs to lowercase (#7509) This commit adds the REDIRECT_TO_LOWERCASE_SLUG option which will cause the cms to redirect requests with an non-lowercase slug if no page with that slug is found. Implements #1324 * docs: Update incomplete color scheme docs (#7512) * fix/merge_errors * Update incomplete color scheme docs * fix typos * fix typos (#7514) * feat: add django 4.2 support (#7481) * revert: test change done earlier * feat: add django 4.2a1 to requirements and to the CI * fix: typo in the test.yml file * fix: update django to the stable * feat: some more updates to get the CI running * fix: two lint related issues * fix: update compatibility matrix to include django 4.2 support * ci: more deprecations in light of upcoming v4 (#7480) * Add deprecation warnings to cms.api * Fix typos --------- Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * ci: introduce ruff in place of flake8 for improved speed (#7504) * revert: test change done earlier * feat: replace flake8 with ruff * fix: code cleanup as per ruff recommendations * fix: cleanup code * fix: use flake-to-ruff to convert our config to ruff.toml file * fix: one more bypass * fix: review feedback * fix: cleanup code for usage dict, list and unnecessary usage Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: broken ci tests * fix: isort issues in the forms.py * fix: explanation of the rules bypass * fix: isort issues * revert: changes to the testcases.py * fix: use ruff to format imports * fix: ignore isort for this file as it causes circular import issues * Update cms/toolbar/toolbar.py Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Update cms/api.py Co-authored-by: Fabian Braun <fsbraun@gmx.de> --------- Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Add: auto-merge to release script * log commands * Refine merge command * Merge origin/develop instead of develop * Adjust color scheme to django 4.2 logic * Fix: eslint issues * Undo unwanted change in make-release --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Mark Walker <mark.walker@realbuzz.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> Co-authored-by: Jasper <hello@jasperbok.nl> Co-authored-by: Corentin Bettiol <45763865+corentinbettiol@users.noreply.github.com> Co-authored-by: Ivo Branco <ivo.branco@fccn.pt> Co-authored-by: Nihal Rahman <70905551+deepbluesquirrel@users.noreply.github.com> Co-authored-by: Nihal <nihal.r@qburst.com> Co-authored-by: pajowu <pajowu@pajowu.de> Co-authored-by: Danny Waser <79070834+wasertech@users.noreply.github.com>
vinitkumar
added a commit
that referenced
this pull request
Aug 23, 2023
* build: release 3.11.2 (#7526) * [3.11.2 release process] Bumped version to 3.11.2 * [3.11.2 release process] compiling new static files * [3.11.2 release process] updating latest docs * Update 3.11.2.rst * Update 3.11.2.rst * Update 3.11.2.rst * Update CHANGELOG.rst * Update 3.11.2.rst * Update CHANGELOG.rst Co-authored-by: Mark Walker <mark@django-cms.org> * Update 3.11.2.rst --------- Co-authored-by: Github Release Action <info@django-cms.org> Co-authored-by: Mark Walker <mark@django-cms.org> * Update README.rst * build: merge develop into release/3.11.x (#7539) * build: Merge release 3.11.2 back into develop (#7528) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * build: Release 3.11.0rc1 (#7326) * [3.11.0 release process] Bumped version to 3.11.0 * [3.11.0 release process] compilemessages * [3.11.0 release process] compiling new static files * [3.11.0 release process] updating latest docs * [3.11.0rc1 release process] Bumped version to 3.11.0rc1 * Added static files * Removed static files of 0.3.11 release * Manually added changes to the upgrade docs * Adjusted upgrade note header * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * ci: Merge develop into release/3.11 (#7350) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * ci: Sync release/3.10.x with develop (#7328) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * Fix for "Permission denied (publickey)" error (#7333) Using https fixes the issue with running the `git clone` command resulting in the error: >git@github.com: Permission denied (publickey). >fatal: Could not read from remote repository. > >Please make sure you have the correct access rights >and the repository exists. * feat: Configurable dark mode (#7329) * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Add: Color scheme configurable * Add: Toolbar toggle (always on) * Add: CMS_COLOR_SCHEME_TOGGLE setting * Add: color scheme toggle test * Fix: Only set color scheme in cms iframes * Add: Basic documentation of new settings * Fix: color scheme switch as css variables * Fix: Cascade settings into iframes of iframes (e.g., cms plugins inside ckeditor) * Fix: no toggle in collapsed toolbar Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: dark mode tweaks and test fixes (requests in context) (#7338) * Fix: toolbar bug 3.10.rc1 * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Upstream change to be able to merge * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Revert "Fix: toolbar bug 3.10.rc1" This reverts commit 592a2b604e8f72b8e9c948e83163394cc6e8fe3d. * Fix: Recommit toolbar fix (??) * Fix: After lint failure: Remove spaces added by PyCharm * Fix: Wizzard button color * Fix: Correct toolbar according to cms_path Fix: Avoid unnecessary toolbar loading * TASK: use isort to sort imports * Fix: Remove unused css rule Fix: Add plugin search bar text did not reflect dark mode * Fix: Toolbar tests to include request object for TextPlugin * Fix: Pass a request (None) for the processors test Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Mark Walker <theshow@gmail.com> * fix: remove fixed width for edit plugin popup (=> autowidth) (#7337) * fix: remove fixed width for edit plugin popup (=> autowidth) Same behavior as new popup * fix: revert bundled js * fix: update changelog * fix: remove trailing comma * fix: Except block using list instead of tuple (#7342) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * fix: Change except catch using list to tuple [#7334] * fix: typo in changelog Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> * feat: add cache ttl extension point (#7299) Adds the setting `CMS_CACHE_LIMIT_TTL_CLASS` that should have a `limit_page_cache_ttl` method that would be called to limit the cache ttl of a page using business logic. Closes #7296 * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes (#7372) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes * Addressing review comment [#7372] Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> (cherry picked from commit 3b2dc101772bbfca75ab51b678a51025d6872b31) * Add release candidate to changelog version * Change 3.11.0rc1 release date to fix `make-changelog` * build: Release 3.11.0 (#7373) * fix: Added language to page cache key (#7354) * Update install.rst (#7368) Remove bug in `python manage.py command` * Updated changelog for 3.11.0 * feat: Release/3.11.1 (#7431) * ci: stale bot added (#7298) * ci: Added codespell (#7355) Co-authored-by: Christian Clauss <cclauss@me.com> * ci: codespell config taken from #7292 * fix: Added language to page cache key (#7354) * ci: Remove a superfluous installation of codespell (#7356) * build: bump django from 3.2.13 to 3.2.14 in /docs (#7358) Bumps [django](https://github.com/django/django) from 3.2.13 to 3.2.14. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.2.13...3.2.14) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * typo (#7360) * Update install.rst (#7368) Remove bug in `python manage.py command` * ci: Flake8 fixes (#7372) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes * Addressing review comment [#7372] Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * build: bump django from 3.2.14 to 3.2.15 in /docs (#7379) Bumps [django](https://github.com/django/django) from 3.2.14 to 3.2.15. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.2.14...3.2.15) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: default light mode (#7381) * ci: Merging release/3.11.0 (#7377) * docs: Bump requirements (#7382) * docs: Bump requirements * docs: Bump python verion used by RTD * docs: Have RTD install from setup.py * chore: Fix spelling errors * docs: build against python 3.8 * docs: try to install from `setup.py` using conf file * docs: Install from pip then setup * ci: Install django-cms from pip again * fix: CMS check management command fixed [#7386] * ci: sync isort line length (#7353) * docs: fixing a link (#7393) * docs: fixing a link misspelled URL * Update CONTRIBUTING.rst Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Mark Walker <theshow@gmail.com> * refactor: Move js API functions to CMS.Helpers to make them available also to the admin site (#7384) Move CMS.API.Toolbar.get_color_scheme to CMS.API.Helpers.getColorScheme and CMS.API.Toolbar.set_color_scheme to CMS.API.Helpers.setColorScheme * fix: Allow partially overriding CMS_CACHE_DURATIONS (#7339) * Allow partially overriding CMS_CACHE_DURATIONS * add doc and changelog Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Adjust paste label in pt-br locale (#7376) * feat: Add support for tel: and mailto: URIs in Advanced Page Settings redirect field (#7370) Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * feat: Add support for tel: and mailto: URIs in Advanced Page Settings redirect field * docs: Correction of headings around CMSPlugin & CMSPluginBase (#7406) * fix: Unlocalize page and node ids when rendering the page tree in the admin (#7188) * #7175: unlocalize page and node ids when rendering the page tree in the admin * Fix flake8 issue * Update the test so as not to have to generate one thousand pages. The downside is that it only works in sqlite * Make isort happy * #7155: extend unlocalisation of pks to a few more templates * #7175: cleanup, dont unlocalize in `if` tags * Update CHANGELOG about #7175 Co-authored-by: Fabian Braun <fsbraun@gmx.de> Co-authored-by: Mark Walker <mark@django-cms.org> * fix: Clear page permission cache on page create (#6866) * Clear page permission cache on page create * Correct changelog entry * Update test_add_page.py * Update CHANGELOG.rst Co-authored-by: Mark Walker <theshow@gmail.com> * fix: Changing color scheme resets session settings to defaults (#7407) * Fix: incorrect saveing of color scheme in CMS.settings * Add: changelog entry :-) * ci: Added pre-commit ci config (#7409) * perf: Don't count users when CMS_RAW_ID_USERS=True (#7414) * perf: Don't count users when CMS_RAW_ID_USERS=True When using CMS_RAW_ID_USERS=True on a Postgres database with many users, counting the users is slow and will always yield the same result. Only count users when using an integer value as a threshold and reuse the same logic for both PagePermissionInlineAdmin and GlobalPagePermissionAdmin. * Ensure that only integer settings of CMS_RAW_ID_USERS are compared to the number of users * Add documentation for the CMS_RAW_ID_USER=True setting * fix isort for added tests * Fix: in python this is always True: isinstance(False, int) Co-authored-by: Pankrat <lhaehne@gmail.com> * fix: CMS check management command fixed [#7412] (#7413) * fix: CMS check management command fixed [#7412] Co-authored-by: jefe <me@myself.ai> * ci: Some tests misusing assertTrue for comparisons fix (#7241) * Fix issue avoid-misusing-assert-true found at https://codereview.doctor * feat: Support for Django 4.1 (#7404) * support: Django 4.1 * Fix: apphook test * Run tests on all databases Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Mark Walker <theshow@gmail.com> * build: bump django from 3.2.15 to 3.2.16 in /docs (#7417) * build: bump minimatch and gulp-if (#7416) Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.0.4 and updates ancestor dependency [gulp-if](https://github.com/robrich/gulp-if). These dependencies need to be updated together. Updates `minimatch` from 1.0.0 to 3.0.4 - [Release notes](https://github.com/isaacs/minimatch/releases) - [Commits](https://github.com/isaacs/minimatch/compare/v1.0.0...v3.0.4) Updates `gulp-if` from 1.2.5 to 3.0.0 - [Release notes](https://github.com/robrich/gulp-if/releases) - [Commits](https://github.com/robrich/gulp-if/commits/3.0.0) --- updated-dependencies: - dependency-name: minimatch dependency-type: indirect - dependency-name: gulp-if dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fabian Braun <fsbraun@gmx.de> * fix: Added deprecation warning to `get_current_language()` (#7410) * fix: Added deprecation warning to `cms.utils.i18n.get_current_language()` * fix: Added deprecation warning to `cms.utils.i18n.get_current_language()` * Added stack level to deprecation warning Co-authored-by: Fabian Braun <fsbraun@gmx.de> * feat: add Python 3.11 support for Django CMS (#7422) * fix: test python3.11 Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: Adds a deprecation warning for SEND_BROKEN_LINK_EMAILS (#7420) * Fix: toolbar bug 3.10.rc1 * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Upstream change to be able to merge * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Revert "Fix: toolbar bug 3.10.rc1" This reverts commit 592a2b604e8f72b8e9c948e83163394cc6e8fe3d. * Fix: Recommit toolbar fix (??) * Fix: After lint failure: Remove spaces added by PyCharm * Fix: Wizzard button color * Fix: Correct toolbar according to cms_path Fix: Avoid unnecessary toolbar loading * TASK: use isort to sort imports * Fix: Move CMS.API.Toolbar.get_color_scheme to CMS.API.Helpers.getColorScheme and CMS.API.Toolbar.set_color_scheme to CMS.API.Helpers.setColorScheme * Fix: Typo in comment * Fix: Typos in comments * Fix: Typos in comments * Add: Changelog entry * Fix: base unit test for js frontend * Add: Basic set/get color scheme test * fix: deprecate SEND_BROKEN_LINK_EMAILS setting * fix: flake8 w504 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Mark Walker <theshow@gmail.com> * fix: Prefer titles matching request language (#7144) * prefer titles matching request language * add comments on use of annotate * fix wayward imports * Add changelog entry Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Mark Walker <theshow@gmail.com> * [3.11.1rc1 release process] Building locales * [3.11.1rc1 release process] Bumped version to 3.11.1rc1 * [3.11.1rc1 release process] compilemessages * [3.11.1rc1 release process] compiling new static files * [3.11.1rc1 release process] updating latest docs * Update and rename .rst to 3.11.1.rst * Update 3.11.1.rst * Update index.rst * [3.11.1rc1 release process] Building locales * Update 3.11.1.rst * Update index.rst * Update index.rst * Update index.rst * Update index.rst * Update index.rst * Fix: Allow setup to run before dependencies are installed * Update transifex translations Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> * feat: Add github actions for publishing on pyi (#7438) * Add github actions for publishing on pyi * Fix branch trigger to branch `release/**` * Also run publish to test pypi on develop * build: Release v3.11.1 (#7455) * fix: Build docs always from the current local version (#7472) (#7475) * Fix: Build docs always from local version * Remove local files from requirements.in * Update `make-release` script * Add comments * Sync Makefile * Install docs requirements from the docs folder in github action * Install docs requirements from docs directory for tests * Rebase on repo dir * feat: add download statistics to readme (#7474) * Add download stats to readme * Fix: Downloads at position 1 * Undo: Recover accidentally deleted line. * docs: Added note to publish_pages API docs about it being a generator (#7483) * fix: Link both user and group from global page permissions to change form (#7486) * Better link change list to change form * Add filter for site * Make messages readable in dark mode, remove iOS9 compatibility trick which leads to unnecessary scoll bars (#7485) * fix: replace ' by ′ in fr translation − no more "page d\u0027accueil"! (#7488) * fix: replace ' by ′ in fr translation no more "page d\u0027accueil"! * Remove unnecessary escapes filter where translations {% filter "escapejs" %} ... {% endfilter %} only belongs to situations where data is put into html attributes or js code. Co-authored-by: Fabian Braun <fsbraun@gmx.de> * docs: Update formatting in how-to/install.rst to avoid misunderstanding (#7501) * Update install.rst * Update install.rst * feat: add setting so redirect preserve params (#7489) Added a new setting that allow to configure globally if the django-cms redirects preserving the query parameters. `REDIRECT_PRESERVE_QUERY_PARAMS`. This feature is usefull for example: 1. marketing campains extra parameters, 2. social networks extra parameters like `fbclick`, 3. custom developed parameters, after that page has been moved, the older URLs for that page should preserve the functionality. * improved code readability (#7503) Co-authored-by: Nihal <nihal.r@qburst.com> * feat: add setting to redirect slugs to lowercase (#7509) This commit adds the REDIRECT_TO_LOWERCASE_SLUG option which will cause the cms to redirect requests with an non-lowercase slug if no page with that slug is found. Implements #1324 * docs: Update incomplete color scheme docs (#7512) * fix/merge_errors * Update incomplete color scheme docs * fix typos * fix typos (#7514) * feat: add django 4.2 support (#7481) * revert: test change done earlier * feat: add django 4.2a1 to requirements and to the CI * fix: typo in the test.yml file * fix: update django to the stable * feat: some more updates to get the CI running * fix: two lint related issues * fix: update compatibility matrix to include django 4.2 support * ci: more deprecations in light of upcoming v4 (#7480) * Add deprecation warnings to cms.api * Fix typos --------- Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * ci: introduce ruff in place of flake8 for improved speed (#7504) * revert: test change done earlier * feat: replace flake8 with ruff * fix: code cleanup as per ruff recommendations * fix: cleanup code * fix: use flake-to-ruff to convert our config to ruff.toml file * fix: one more bypass * fix: review feedback * fix: cleanup code for usage dict, list and unnecessary usage Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: broken ci tests * fix: isort issues in the forms.py * fix: explanation of the rules bypass * fix: isort issues * revert: changes to the testcases.py * fix: use ruff to format imports * fix: ignore isort for this file as it causes circular import issues * Update cms/toolbar/toolbar.py Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Update cms/api.py Co-authored-by: Fabian Braun <fsbraun@gmx.de> --------- Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Fabian Braun <fsbraun@gmx.de> * build: release 3.11.2 (#7526) * [3.11.2 release process] Bumped version to 3.11.2 * [3.11.2 release process] compiling new static files * [3.11.2 release process] updating latest docs * Update 3.11.2.rst * Update 3.11.2.rst * Update 3.11.2.rst * Update CHANGELOG.rst * Update 3.11.2.rst * Update CHANGELOG.rst Co-authored-by: Mark Walker <mark@django-cms.org> * Update 3.11.2.rst --------- Co-authored-by: Github Release Action <info@django-cms.org> Co-authored-by: Mark Walker <mark@django-cms.org> * Update README.rst --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Mark Walker <mark.walker@realbuzz.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> Co-authored-by: Jasper <hello@jasperbok.nl> Co-authored-by: Corentin Bettiol <45763865+corentinbettiol@users.noreply.github.com> Co-authored-by: Ivo Branco <ivo.branco@fccn.pt> Co-authored-by: Nihal Rahman <70905551+deepbluesquirrel@users.noreply.github.com> Co-authored-by: Nihal <nihal.r@qburst.com> Co-authored-by: pajowu <pajowu@pajowu.de> Co-authored-by: Danny Waser <79070834+wasertech@users.noreply.github.com> Co-authored-by: Github Release Action <info@django-cms.org> * FIX: remove curly bracket left behind on PR 7488 (#7529) see this comment for more infos: https://github.com/django-cms/django-cms/pull/7488\#issuecomment-1513517082 * fix: lint menus app (#7534) * feat: add support for testing menus with ruff as well * fix: autofix issues with ruff * Fix #6848 (#7535) Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Mark Walker <mark.walker@realbuzz.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> Co-authored-by: Jasper <hello@jasperbok.nl> Co-authored-by: Corentin Bettiol <45763865+corentinbettiol@users.noreply.github.com> Co-authored-by: Ivo Branco <ivo.branco@fccn.pt> Co-authored-by: Nihal Rahman <70905551+deepbluesquirrel@users.noreply.github.com> Co-authored-by: Nihal <nihal.r@qburst.com> Co-authored-by: pajowu <pajowu@pajowu.de> Co-authored-by: Danny Waser <79070834+wasertech@users.noreply.github.com> Co-authored-by: Github Release Action <info@django-cms.org> * build: Merge build into release 3.11.x (#7540) * [3.11.3 release process] Bumped version to 3.11.3 * [3.11.3 release process] compiling new static files * [3.11.3 release process] updating latest docs * Update 3.11.3.rst * Update CHANGELOG.rst * Update CHANGELOG.rst * Update 3.11.3.rst --------- Co-authored-by: Github Release Action <info@django-cms.org> * Dynamic unihan decoder selection based on page language * Update test * Fix ruff issues * fix: backport v4.1.0rc4 fixes * Do not enforce request object in context when rendering placeholders * Add css and icon built to frontend tests * fix typo, update cms_tags --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Github Release Action <info@django-cms.org> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Mark Walker <mark.walker@realbuzz.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> Co-authored-by: Jasper <hello@jasperbok.nl> Co-authored-by: Corentin Bettiol <45763865+corentinbettiol@users.noreply.github.com> Co-authored-by: Ivo Branco <ivo.branco@fccn.pt> Co-authored-by: Nihal Rahman <70905551+deepbluesquirrel@users.noreply.github.com> Co-authored-by: Nihal <nihal.r@qburst.com> Co-authored-by: pajowu <pajowu@pajowu.de> Co-authored-by: Danny Waser <79070834+wasertech@users.noreply.github.com>
4 tasks
fsbraun
added a commit
that referenced
this pull request
Sep 18, 2023
* build: release 3.11.2 (#7526) * [3.11.2 release process] Bumped version to 3.11.2 * [3.11.2 release process] compiling new static files * [3.11.2 release process] updating latest docs * Update 3.11.2.rst * Update 3.11.2.rst * Update 3.11.2.rst * Update CHANGELOG.rst * Update 3.11.2.rst * Update CHANGELOG.rst Co-authored-by: Mark Walker <mark@django-cms.org> * Update 3.11.2.rst --------- Co-authored-by: Github Release Action <info@django-cms.org> Co-authored-by: Mark Walker <mark@django-cms.org> * Update README.rst * build: merge develop into release/3.11.x (#7539) * build: Merge release 3.11.2 back into develop (#7528) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * build: Release 3.11.0rc1 (#7326) * [3.11.0 release process] Bumped version to 3.11.0 * [3.11.0 release process] compilemessages * [3.11.0 release process] compiling new static files * [3.11.0 release process] updating latest docs * [3.11.0rc1 release process] Bumped version to 3.11.0rc1 * Added static files * Removed static files of 0.3.11 release * Manually added changes to the upgrade docs * Adjusted upgrade note header * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * ci: Merge develop into release/3.11 (#7350) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * ci: Sync release/3.10.x with develop (#7328) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * Fix for "Permission denied (publickey)" error (#7333) Using https fixes the issue with running the `git clone` command resulting in the error: >git@github.com: Permission denied (publickey). >fatal: Could not read from remote repository. > >Please make sure you have the correct access rights >and the repository exists. * feat: Configurable dark mode (#7329) * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Add: Color scheme configurable * Add: Toolbar toggle (always on) * Add: CMS_COLOR_SCHEME_TOGGLE setting * Add: color scheme toggle test * Fix: Only set color scheme in cms iframes * Add: Basic documentation of new settings * Fix: color scheme switch as css variables * Fix: Cascade settings into iframes of iframes (e.g., cms plugins inside ckeditor) * Fix: no toggle in collapsed toolbar Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: dark mode tweaks and test fixes (requests in context) (#7338) * Fix: toolbar bug 3.10.rc1 * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Upstream change to be able to merge * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Revert "Fix: toolbar bug 3.10.rc1" This reverts commit 592a2b604e8f72b8e9c948e83163394cc6e8fe3d. * Fix: Recommit toolbar fix (??) * Fix: After lint failure: Remove spaces added by PyCharm * Fix: Wizzard button color * Fix: Correct toolbar according to cms_path Fix: Avoid unnecessary toolbar loading * TASK: use isort to sort imports * Fix: Remove unused css rule Fix: Add plugin search bar text did not reflect dark mode * Fix: Toolbar tests to include request object for TextPlugin * Fix: Pass a request (None) for the processors test Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Mark Walker <theshow@gmail.com> * fix: remove fixed width for edit plugin popup (=> autowidth) (#7337) * fix: remove fixed width for edit plugin popup (=> autowidth) Same behavior as new popup * fix: revert bundled js * fix: update changelog * fix: remove trailing comma * fix: Except block using list instead of tuple (#7342) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * fix: Change except catch using list to tuple [#7334] * fix: typo in changelog Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> * feat: add cache ttl extension point (#7299) Adds the setting `CMS_CACHE_LIMIT_TTL_CLASS` that should have a `limit_page_cache_ttl` method that would be called to limit the cache ttl of a page using business logic. Closes #7296 * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes (#7372) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes * Addressing review comment [#7372] Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> (cherry picked from commit 3b2dc101772bbfca75ab51b678a51025d6872b31) * Add release candidate to changelog version * Change 3.11.0rc1 release date to fix `make-changelog` * build: Release 3.11.0 (#7373) * fix: Added language to page cache key (#7354) * Update install.rst (#7368) Remove bug in `python manage.py command` * Updated changelog for 3.11.0 * feat: Release/3.11.1 (#7431) * ci: stale bot added (#7298) * ci: Added codespell (#7355) Co-authored-by: Christian Clauss <cclauss@me.com> * ci: codespell config taken from #7292 * fix: Added language to page cache key (#7354) * ci: Remove a superfluous installation of codespell (#7356) * build: bump django from 3.2.13 to 3.2.14 in /docs (#7358) Bumps [django](https://github.com/django/django) from 3.2.13 to 3.2.14. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.2.13...3.2.14) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * typo (#7360) * Update install.rst (#7368) Remove bug in `python manage.py command` * ci: Flake8 fixes (#7372) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes * Addressing review comment [#7372] Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * build: bump django from 3.2.14 to 3.2.15 in /docs (#7379) Bumps [django](https://github.com/django/django) from 3.2.14 to 3.2.15. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.2.14...3.2.15) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: default light mode (#7381) * ci: Merging release/3.11.0 (#7377) * docs: Bump requirements (#7382) * docs: Bump requirements * docs: Bump python verion used by RTD * docs: Have RTD install from setup.py * chore: Fix spelling errors * docs: build against python 3.8 * docs: try to install from `setup.py` using conf file * docs: Install from pip then setup * ci: Install django-cms from pip again * fix: CMS check management command fixed [#7386] * ci: sync isort line length (#7353) * docs: fixing a link (#7393) * docs: fixing a link misspelled URL * Update CONTRIBUTING.rst Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Mark Walker <theshow@gmail.com> * refactor: Move js API functions to CMS.Helpers to make them available also to the admin site (#7384) Move CMS.API.Toolbar.get_color_scheme to CMS.API.Helpers.getColorScheme and CMS.API.Toolbar.set_color_scheme to CMS.API.Helpers.setColorScheme * fix: Allow partially overriding CMS_CACHE_DURATIONS (#7339) * Allow partially overriding CMS_CACHE_DURATIONS * add doc and changelog Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Adjust paste label in pt-br locale (#7376) * feat: Add support for tel: and mailto: URIs in Advanced Page Settings redirect field (#7370) Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * feat: Add support for tel: and mailto: URIs in Advanced Page Settings redirect field * docs: Correction of headings around CMSPlugin & CMSPluginBase (#7406) * fix: Unlocalize page and node ids when rendering the page tree in the admin (#7188) * #7175: unlocalize page and node ids when rendering the page tree in the admin * Fix flake8 issue * Update the test so as not to have to generate one thousand pages. The downside is that it only works in sqlite * Make isort happy * #7155: extend unlocalisation of pks to a few more templates * #7175: cleanup, dont unlocalize in `if` tags * Update CHANGELOG about #7175 Co-authored-by: Fabian Braun <fsbraun@gmx.de> Co-authored-by: Mark Walker <mark@django-cms.org> * fix: Clear page permission cache on page create (#6866) * Clear page permission cache on page create * Correct changelog entry * Update test_add_page.py * Update CHANGELOG.rst Co-authored-by: Mark Walker <theshow@gmail.com> * fix: Changing color scheme resets session settings to defaults (#7407) * Fix: incorrect saveing of color scheme in CMS.settings * Add: changelog entry :-) * ci: Added pre-commit ci config (#7409) * perf: Don't count users when CMS_RAW_ID_USERS=True (#7414) * perf: Don't count users when CMS_RAW_ID_USERS=True When using CMS_RAW_ID_USERS=True on a Postgres database with many users, counting the users is slow and will always yield the same result. Only count users when using an integer value as a threshold and reuse the same logic for both PagePermissionInlineAdmin and GlobalPagePermissionAdmin. * Ensure that only integer settings of CMS_RAW_ID_USERS are compared to the number of users * Add documentation for the CMS_RAW_ID_USER=True setting * fix isort for added tests * Fix: in python this is always True: isinstance(False, int) Co-authored-by: Pankrat <lhaehne@gmail.com> * fix: CMS check management command fixed [#7412] (#7413) * fix: CMS check management command fixed [#7412] Co-authored-by: jefe <me@myself.ai> * ci: Some tests misusing assertTrue for comparisons fix (#7241) * Fix issue avoid-misusing-assert-true found at https://codereview.doctor * feat: Support for Django 4.1 (#7404) * support: Django 4.1 * Fix: apphook test * Run tests on all databases Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Mark Walker <theshow@gmail.com> * build: bump django from 3.2.15 to 3.2.16 in /docs (#7417) * build: bump minimatch and gulp-if (#7416) Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.0.4 and updates ancestor dependency [gulp-if](https://github.com/robrich/gulp-if). These dependencies need to be updated together. Updates `minimatch` from 1.0.0 to 3.0.4 - [Release notes](https://github.com/isaacs/minimatch/releases) - [Commits](https://github.com/isaacs/minimatch/compare/v1.0.0...v3.0.4) Updates `gulp-if` from 1.2.5 to 3.0.0 - [Release notes](https://github.com/robrich/gulp-if/releases) - [Commits](https://github.com/robrich/gulp-if/commits/3.0.0) --- updated-dependencies: - dependency-name: minimatch dependency-type: indirect - dependency-name: gulp-if dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fabian Braun <fsbraun@gmx.de> * fix: Added deprecation warning to `get_current_language()` (#7410) * fix: Added deprecation warning to `cms.utils.i18n.get_current_language()` * fix: Added deprecation warning to `cms.utils.i18n.get_current_language()` * Added stack level to deprecation warning Co-authored-by: Fabian Braun <fsbraun@gmx.de> * feat: add Python 3.11 support for Django CMS (#7422) * fix: test python3.11 Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: Adds a deprecation warning for SEND_BROKEN_LINK_EMAILS (#7420) * Fix: toolbar bug 3.10.rc1 * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Upstream change to be able to merge * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Revert "Fix: toolbar bug 3.10.rc1" This reverts commit 592a2b604e8f72b8e9c948e83163394cc6e8fe3d. * Fix: Recommit toolbar fix (??) * Fix: After lint failure: Remove spaces added by PyCharm * Fix: Wizzard button color * Fix: Correct toolbar according to cms_path Fix: Avoid unnecessary toolbar loading * TASK: use isort to sort imports * Fix: Move CMS.API.Toolbar.get_color_scheme to CMS.API.Helpers.getColorScheme and CMS.API.Toolbar.set_color_scheme to CMS.API.Helpers.setColorScheme * Fix: Typo in comment * Fix: Typos in comments * Fix: Typos in comments * Add: Changelog entry * Fix: base unit test for js frontend * Add: Basic set/get color scheme test * fix: deprecate SEND_BROKEN_LINK_EMAILS setting * fix: flake8 w504 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Mark Walker <theshow@gmail.com> * fix: Prefer titles matching request language (#7144) * prefer titles matching request language * add comments on use of annotate * fix wayward imports * Add changelog entry Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Mark Walker <theshow@gmail.com> * [3.11.1rc1 release process] Building locales * [3.11.1rc1 release process] Bumped version to 3.11.1rc1 * [3.11.1rc1 release process] compilemessages * [3.11.1rc1 release process] compiling new static files * [3.11.1rc1 release process] updating latest docs * Update and rename .rst to 3.11.1.rst * Update 3.11.1.rst * Update index.rst * [3.11.1rc1 release process] Building locales * Update 3.11.1.rst * Update index.rst * Update index.rst * Update index.rst * Update index.rst * Update index.rst * Fix: Allow setup to run before dependencies are installed * Update transifex translations Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> * feat: Add github actions for publishing on pyi (#7438) * Add github actions for publishing on pyi * Fix branch trigger to branch `release/**` * Also run publish to test pypi on develop * build: Release v3.11.1 (#7455) * fix: Build docs always from the current local version (#7472) (#7475) * Fix: Build docs always from local version * Remove local files from requirements.in * Update `make-release` script * Add comments * Sync Makefile * Install docs requirements from the docs folder in github action * Install docs requirements from docs directory for tests * Rebase on repo dir * feat: add download statistics to readme (#7474) * Add download stats to readme * Fix: Downloads at position 1 * Undo: Recover accidentally deleted line. * docs: Added note to publish_pages API docs about it being a generator (#7483) * fix: Link both user and group from global page permissions to change form (#7486) * Better link change list to change form * Add filter for site * Make messages readable in dark mode, remove iOS9 compatibility trick which leads to unnecessary scoll bars (#7485) * fix: replace ' by ′ in fr translation − no more "page d\u0027accueil"! (#7488) * fix: replace ' by ′ in fr translation no more "page d\u0027accueil"! * Remove unnecessary escapes filter where translations {% filter "escapejs" %} ... {% endfilter %} only belongs to situations where data is put into html attributes or js code. Co-authored-by: Fabian Braun <fsbraun@gmx.de> * docs: Update formatting in how-to/install.rst to avoid misunderstanding (#7501) * Update install.rst * Update install.rst * feat: add setting so redirect preserve params (#7489) Added a new setting that allow to configure globally if the django-cms redirects preserving the query parameters. `REDIRECT_PRESERVE_QUERY_PARAMS`. This feature is usefull for example: 1. marketing campains extra parameters, 2. social networks extra parameters like `fbclick`, 3. custom developed parameters, after that page has been moved, the older URLs for that page should preserve the functionality. * improved code readability (#7503) Co-authored-by: Nihal <nihal.r@qburst.com> * feat: add setting to redirect slugs to lowercase (#7509) This commit adds the REDIRECT_TO_LOWERCASE_SLUG option which will cause the cms to redirect requests with an non-lowercase slug if no page with that slug is found. Implements #1324 * docs: Update incomplete color scheme docs (#7512) * fix/merge_errors * Update incomplete color scheme docs * fix typos * fix typos (#7514) * feat: add django 4.2 support (#7481) * revert: test change done earlier * feat: add django 4.2a1 to requirements and to the CI * fix: typo in the test.yml file * fix: update django to the stable * feat: some more updates to get the CI running * fix: two lint related issues * fix: update compatibility matrix to include django 4.2 support * ci: more deprecations in light of upcoming v4 (#7480) * Add deprecation warnings to cms.api * Fix typos --------- Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * ci: introduce ruff in place of flake8 for improved speed (#7504) * revert: test change done earlier * feat: replace flake8 with ruff * fix: code cleanup as per ruff recommendations * fix: cleanup code * fix: use flake-to-ruff to convert our config to ruff.toml file * fix: one more bypass * fix: review feedback * fix: cleanup code for usage dict, list and unnecessary usage Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: broken ci tests * fix: isort issues in the forms.py * fix: explanation of the rules bypass * fix: isort issues * revert: changes to the testcases.py * fix: use ruff to format imports * fix: ignore isort for this file as it causes circular import issues * Update cms/toolbar/toolbar.py Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Update cms/api.py Co-authored-by: Fabian Braun <fsbraun@gmx.de> --------- Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Fabian Braun <fsbraun@gmx.de> * build: release 3.11.2 (#7526) * [3.11.2 release process] Bumped version to 3.11.2 * [3.11.2 release process] compiling new static files * [3.11.2 release process] updating latest docs * Update 3.11.2.rst * Update 3.11.2.rst * Update 3.11.2.rst * Update CHANGELOG.rst * Update 3.11.2.rst * Update CHANGELOG.rst Co-authored-by: Mark Walker <mark@django-cms.org> * Update 3.11.2.rst --------- Co-authored-by: Github Release Action <info@django-cms.org> Co-authored-by: Mark Walker <mark@django-cms.org> * Update README.rst --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Mark Walker <mark.walker@realbuzz.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> Co-authored-by: Jasper <hello@jasperbok.nl> Co-authored-by: Corentin Bettiol <45763865+corentinbettiol@users.noreply.github.com> Co-authored-by: Ivo Branco <ivo.branco@fccn.pt> Co-authored-by: Nihal Rahman <70905551+deepbluesquirrel@users.noreply.github.com> Co-authored-by: Nihal <nihal.r@qburst.com> Co-authored-by: pajowu <pajowu@pajowu.de> Co-authored-by: Danny Waser <79070834+wasertech@users.noreply.github.com> Co-authored-by: Github Release Action <info@django-cms.org> * FIX: remove curly bracket left behind on PR 7488 (#7529) see this comment for more infos: https://github.com/django-cms/django-cms/pull/7488\#issuecomment-1513517082 * fix: lint menus app (#7534) * feat: add support for testing menus with ruff as well * fix: autofix issues with ruff * Fix #6848 (#7535) Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Mark Walker <mark.walker@realbuzz.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> Co-authored-by: Jasper <hello@jasperbok.nl> Co-authored-by: Corentin Bettiol <45763865+corentinbettiol@users.noreply.github.com> Co-authored-by: Ivo Branco <ivo.branco@fccn.pt> Co-authored-by: Nihal Rahman <70905551+deepbluesquirrel@users.noreply.github.com> Co-authored-by: Nihal <nihal.r@qburst.com> Co-authored-by: pajowu <pajowu@pajowu.de> Co-authored-by: Danny Waser <79070834+wasertech@users.noreply.github.com> Co-authored-by: Github Release Action <info@django-cms.org> * build: Merge build into release 3.11.x (#7540) * [3.11.3 release process] Bumped version to 3.11.3 * [3.11.3 release process] compiling new static files * [3.11.3 release process] updating latest docs * Update 3.11.3.rst * Update CHANGELOG.rst * Update CHANGELOG.rst * Update 3.11.3.rst --------- Co-authored-by: Github Release Action <info@django-cms.org> * Fix ruff issues * fix: Backport v4.1.0rc4 fixes - Admin language and styling (#7630) (#7641) * Remove assets of 3.11.2 * fix: Toolbar action button becomes hard to read in dark mode * ci: Merge 3.11.4 release build back into release/3.11.x (#7644) * [3.11.4rc1 release process] Building locales * [3.11.4rc1 release process] Bumped version to 3.11.4rc1 * [3.11.4rc1 release process] compiling new static files * [3.11.4rc1 release process] updating latest docs * Update translations * Update translations --------- Co-authored-by: Github Release Action <info@django-cms.org> * ci: Merge 3.11.4 build into `release/3.11.x` (#7645) * [3.11.4 release process] Building locales * [3.11.4 release process] Bumped version to 3.11.4 * [3.11.4 release process] compiling new static files * [3.11.4 release process] updating latest docs --------- Co-authored-by: Github Release Action <info@django-cms.org> * Update compatibility table * Fix: Correct language of help menu * fix: remove double entries in Changelog * Update CHANGELOG.rst --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Github Release Action <info@django-cms.org> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Mark Walker <mark.walker@realbuzz.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> Co-authored-by: Jasper <hello@jasperbok.nl> Co-authored-by: Corentin Bettiol <45763865+corentinbettiol@users.noreply.github.com> Co-authored-by: Ivo Branco <ivo.branco@fccn.pt> Co-authored-by: Nihal Rahman <70905551+deepbluesquirrel@users.noreply.github.com> Co-authored-by: Nihal <nihal.r@qburst.com> Co-authored-by: pajowu <pajowu@pajowu.de> Co-authored-by: Danny Waser <79070834+wasertech@users.noreply.github.com>
fsbraun
added a commit
that referenced
this pull request
Jan 26, 2024
* ci: Merge back release 3.11.4 into `develop` (#7646) * build: release 3.11.2 (#7526) * [3.11.2 release process] Bumped version to 3.11.2 * [3.11.2 release process] compiling new static files * [3.11.2 release process] updating latest docs * Update 3.11.2.rst * Update 3.11.2.rst * Update 3.11.2.rst * Update CHANGELOG.rst * Update 3.11.2.rst * Update CHANGELOG.rst Co-authored-by: Mark Walker <mark@django-cms.org> * Update 3.11.2.rst --------- Co-authored-by: Github Release Action <info@django-cms.org> Co-authored-by: Mark Walker <mark@django-cms.org> * Update README.rst * build: merge develop into release/3.11.x (#7539) * build: Merge release 3.11.2 back into develop (#7528) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * build: Release 3.11.0rc1 (#7326) * [3.11.0 release process] Bumped version to 3.11.0 * [3.11.0 release process] compilemessages * [3.11.0 release process] compiling new static files * [3.11.0 release process] updating latest docs * [3.11.0rc1 release process] Bumped version to 3.11.0rc1 * Added static files * Removed static files of 0.3.11 release * Manually added changes to the upgrade docs * Adjusted upgrade note header * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * ci: Merge develop into release/3.11 (#7350) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * ci: Sync release/3.10.x with develop (#7328) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * Fix for "Permission denied (publickey)" error (#7333) Using https fixes the issue with running the `git clone` command resulting in the error: >git@github.com: Permission denied (publickey). >fatal: Could not read from remote repository. > >Please make sure you have the correct access rights >and the repository exists. * feat: Configurable dark mode (#7329) * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Add: Color scheme configurable * Add: Toolbar toggle (always on) * Add: CMS_COLOR_SCHEME_TOGGLE setting * Add: color scheme toggle test * Fix: Only set color scheme in cms iframes * Add: Basic documentation of new settings * Fix: color scheme switch as css variables * Fix: Cascade settings into iframes of iframes (e.g., cms plugins inside ckeditor) * Fix: no toggle in collapsed toolbar Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: dark mode tweaks and test fixes (requests in context) (#7338) * Fix: toolbar bug 3.10.rc1 * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Upstream change to be able to merge * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Revert "Fix: toolbar bug 3.10.rc1" This reverts commit 592a2b604e8f72b8e9c948e83163394cc6e8fe3d. * Fix: Recommit toolbar fix (??) * Fix: After lint failure: Remove spaces added by PyCharm * Fix: Wizzard button color * Fix: Correct toolbar according to cms_path Fix: Avoid unnecessary toolbar loading * TASK: use isort to sort imports * Fix: Remove unused css rule Fix: Add plugin search bar text did not reflect dark mode * Fix: Toolbar tests to include request object for TextPlugin * Fix: Pass a request (None) for the processors test Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Mark Walker <theshow@gmail.com> * fix: remove fixed width for edit plugin popup (=> autowidth) (#7337) * fix: remove fixed width for edit plugin popup (=> autowidth) Same behavior as new popup * fix: revert bundled js * fix: update changelog * fix: remove trailing comma * fix: Except block using list instead of tuple (#7342) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * fix: Change except catch using list to tuple [#7334] * fix: typo in changelog Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> * feat: add cache ttl extension point (#7299) Adds the setting `CMS_CACHE_LIMIT_TTL_CLASS` that should have a `limit_page_cache_ttl` method that would be called to limit the cache ttl of a page using business logic. Closes #7296 * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes (#7372) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes * Addressing review comment [#7372] Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> (cherry picked from commit 3b2dc101772bbfca75ab51b678a51025d6872b31) * Add release candidate to changelog version * Change 3.11.0rc1 release date to fix `make-changelog` * build: Release 3.11.0 (#7373) * fix: Added language to page cache key (#7354) * Update install.rst (#7368) Remove bug in `python manage.py command` * Updated changelog for 3.11.0 * feat: Release/3.11.1 (#7431) * ci: stale bot added (#7298) * ci: Added codespell (#7355) Co-authored-by: Christian Clauss <cclauss@me.com> * ci: codespell config taken from #7292 * fix: Added language to page cache key (#7354) * ci: Remove a superfluous installation of codespell (#7356) * build: bump django from 3.2.13 to 3.2.14 in /docs (#7358) Bumps [django](https://github.com/django/django) from 3.2.13 to 3.2.14. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.2.13...3.2.14) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * typo (#7360) * Update install.rst (#7368) Remove bug in `python manage.py command` * ci: Flake8 fixes (#7372) * Release 3.10.0 RC1 (#7215) * [3.10.0rc1 release process] Bumped version to 3.10.0rc1 * [3.10.0rc1 release process] compilemessages * [3.10.0rc1 release process] compiling new static files * [3.10.0rc1 release process] updating latest docs * Update release/3.10 from develop (#7219) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> * Add toolbar fix for broken CMS in the release 3.10.x (#7233) * Fix script typos (#7201) * [refactor] Typos in release scripts * This was correct. Co-authored-by: Simon Krull <simondotunix@gmail.com> * feat: Added concurrency option to github workflows (#7205) * fix: Disable workflow concurrency to bring stability back to the CI (#7209) * Upgrade Gulp and Nodejs (#7208) * feat: upgrade sass and gulp sass so that it installs on a modern node.js * fix: upgrade some packages and gulp config to 4.x series * fix: add support for icons working as well * Feat: get some tasks to work * fix: port one more tasks even if it is still erroring * wip: still broken config for webpack bundle * fix: let the new tests run * fix: issue with lint task * fix: some more issues with loaders * feat: get some tests passing atleast * fix: the frontend tests pass now * feat: generate new lock file * feat: use gulp 4.x * feat: make build use node16 as well * feat: add .nvmrc for a consistent experience * feat: Run workflows in concurrency groups (#7211) * feat: Added concurrency config using unique workflow groups * Remove whitespace to test cancellation * Remove whitespace to test cancellation 2 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> * fix: Toolbar bug in 3.10 (#7232) Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> * fix: using .nvmrc to target teh right nvm version * Release/3.10.x (#7260) Releasing 3.10.0RC2 * [3.10.0rc2 release process] Bumped version to 3.10.0rc2 * [3.10.0rc2 release process] compilemessages * [3.10.0rc2 release process] compiling new static files * [3.10.0rc2 release process] updating latest docs * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible * Release/3.10.x (#7275) * Fixes #7288 by also catching AttributeError, when the current toolbar… (#7289) * Fixes #7288 by also catching AttributeError, when the current toolbar object doesn't define get_draft_url() * #7288: also catch AttributeError when `get_absolute_url()` isn't defined. * Fix for django 2.2 in middleware [#7290] (#7293) * Fix for django 2.2 in middleware [#7290] * Address isort concern * Update release script to make it compatible with BSD (macos) compatible * Update release script to make it compatible with BSD (macos) compatible (#7294) * Fix version number in bump commit * Fix release script version commit. (#7295) * Update release script to make it compatible with BSD (macos) compatible * Fix version number in bump commit * fix: typos in CHANGELOG.rst * build: release 3.10.1rc1 (#7330) * fix: Use http rather than https in toolbar sites menu (#7331) * fix: Revert change to the toolbar sites menu to use ``http`` protocol (#7332) * fix: Rename changelog title to fix release script * fix: Changelog title for 3.10.1rc1 (#7345) * fix: Request missing from test rendering (#7346) * fix: Changelog titles for 3.10.x (#7347) * build: Release 3.10.1 (#7348) * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update CHANGELOG.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * Update docs/upgrade/3.10.1.rst Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * ci: Flake8 fixes * Addressing review comment [#7372] Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: fsbraun <fsbraun@gmx.de> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * build: bump django from 3.2.14 to 3.2.15 in /docs (#7379) Bumps [django](https://github.com/django/django) from 3.2.14 to 3.2.15. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.2.14...3.2.15) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: default light mode (#7381) * ci: Merging release/3.11.0 (#7377) * docs: Bump requirements (#7382) * docs: Bump requirements * docs: Bump python verion used by RTD * docs: Have RTD install from setup.py * chore: Fix spelling errors * docs: build against python 3.8 * docs: try to install from `setup.py` using conf file * docs: Install from pip then setup * ci: Install django-cms from pip again * fix: CMS check management command fixed [#7386] * ci: sync isort line length (#7353) * docs: fixing a link (#7393) * docs: fixing a link misspelled URL * Update CONTRIBUTING.rst Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Mark Walker <theshow@gmail.com> * refactor: Move js API functions to CMS.Helpers to make them available also to the admin site (#7384) Move CMS.API.Toolbar.get_color_scheme to CMS.API.Helpers.getColorScheme and CMS.API.Toolbar.set_color_scheme to CMS.API.Helpers.setColorScheme * fix: Allow partially overriding CMS_CACHE_DURATIONS (#7339) * Allow partially overriding CMS_CACHE_DURATIONS * add doc and changelog Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Adjust paste label in pt-br locale (#7376) * feat: Add support for tel: and mailto: URIs in Advanced Page Settings redirect field (#7370) Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> * feat: Add support for tel: and mailto: URIs in Advanced Page Settings redirect field * docs: Correction of headings around CMSPlugin & CMSPluginBase (#7406) * fix: Unlocalize page and node ids when rendering the page tree in the admin (#7188) * #7175: unlocalize page and node ids when rendering the page tree in the admin * Fix flake8 issue * Update the test so as not to have to generate one thousand pages. The downside is that it only works in sqlite * Make isort happy * #7155: extend unlocalisation of pks to a few more templates * #7175: cleanup, dont unlocalize in `if` tags * Update CHANGELOG about #7175 Co-authored-by: Fabian Braun <fsbraun@gmx.de> Co-authored-by: Mark Walker <mark@django-cms.org> * fix: Clear page permission cache on page create (#6866) * Clear page permission cache on page create * Correct changelog entry * Update test_add_page.py * Update CHANGELOG.rst Co-authored-by: Mark Walker <theshow@gmail.com> * fix: Changing color scheme resets session settings to defaults (#7407) * Fix: incorrect saveing of color scheme in CMS.settings * Add: changelog entry :-) * ci: Added pre-commit ci config (#7409) * perf: Don't count users when CMS_RAW_ID_USERS=True (#7414) * perf: Don't count users when CMS_RAW_ID_USERS=True When using CMS_RAW_ID_USERS=True on a Postgres database with many users, counting the users is slow and will always yield the same result. Only count users when using an integer value as a threshold and reuse the same logic for both PagePermissionInlineAdmin and GlobalPagePermissionAdmin. * Ensure that only integer settings of CMS_RAW_ID_USERS are compared to the number of users * Add documentation for the CMS_RAW_ID_USER=True setting * fix isort for added tests * Fix: in python this is always True: isinstance(False, int) Co-authored-by: Pankrat <lhaehne@gmail.com> * fix: CMS check management command fixed [#7412] (#7413) * fix: CMS check management command fixed [#7412] Co-authored-by: jefe <me@myself.ai> * ci: Some tests misusing assertTrue for comparisons fix (#7241) * Fix issue avoid-misusing-assert-true found at https://codereview.doctor * feat: Support for Django 4.1 (#7404) * support: Django 4.1 * Fix: apphook test * Run tests on all databases Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Mark Walker <theshow@gmail.com> * build: bump django from 3.2.15 to 3.2.16 in /docs (#7417) * build: bump minimatch and gulp-if (#7416) Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.0.4 and updates ancestor dependency [gulp-if](https://github.com/robrich/gulp-if). These dependencies need to be updated together. Updates `minimatch` from 1.0.0 to 3.0.4 - [Release notes](https://github.com/isaacs/minimatch/releases) - [Commits](https://github.com/isaacs/minimatch/compare/v1.0.0...v3.0.4) Updates `gulp-if` from 1.2.5 to 3.0.0 - [Release notes](https://github.com/robrich/gulp-if/releases) - [Commits](https://github.com/robrich/gulp-if/commits/3.0.0) --- updated-dependencies: - dependency-name: minimatch dependency-type: indirect - dependency-name: gulp-if dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fabian Braun <fsbraun@gmx.de> * fix: Added deprecation warning to `get_current_language()` (#7410) * fix: Added deprecation warning to `cms.utils.i18n.get_current_language()` * fix: Added deprecation warning to `cms.utils.i18n.get_current_language()` * Added stack level to deprecation warning Co-authored-by: Fabian Braun <fsbraun@gmx.de> * feat: add Python 3.11 support for Django CMS (#7422) * fix: test python3.11 Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: Adds a deprecation warning for SEND_BROKEN_LINK_EMAILS (#7420) * Fix: toolbar bug 3.10.rc1 * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Upstream change to be able to merge * Feat: Dark mode support, including input from @marksweb, bugfix for tooltips * Revert "Fix: toolbar bug 3.10.rc1" This reverts commit 592a2b604e8f72b8e9c948e83163394cc6e8fe3d. * Fix: Recommit toolbar fix (??) * Fix: After lint failure: Remove spaces added by PyCharm * Fix: Wizzard button color * Fix: Correct toolbar according to cms_path Fix: Avoid unnecessary toolbar loading * TASK: use isort to sort imports * Fix: Move CMS.API.Toolbar.get_color_scheme to CMS.API.Helpers.getColorScheme and CMS.API.Toolbar.set_color_scheme to CMS.API.Helpers.setColorScheme * Fix: Typo in comment * Fix: Typos in comments * Fix: Typos in comments * Add: Changelog entry * Fix: base unit test for js frontend * Add: Basic set/get color scheme test * fix: deprecate SEND_BROKEN_LINK_EMAILS setting * fix: flake8 w504 Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Mark Walker <theshow@gmail.com> * fix: Prefer titles matching request language (#7144) * prefer titles matching request language * add comments on use of annotate * fix wayward imports * Add changelog entry Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Mark Walker <theshow@gmail.com> * [3.11.1rc1 release process] Building locales * [3.11.1rc1 release process] Bumped version to 3.11.1rc1 * [3.11.1rc1 release process] compilemessages * [3.11.1rc1 release process] compiling new static files * [3.11.1rc1 release process] updating latest docs * Update and rename .rst to 3.11.1.rst * Update 3.11.1.rst * Update index.rst * [3.11.1rc1 release process] Building locales * Update 3.11.1.rst * Update index.rst * Update index.rst * Update index.rst * Update index.rst * Update index.rst * Fix: Allow setup to run before dependencies are installed * Update transifex translations Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> * feat: Add github actions for publishing on pyi (#7438) * Add github actions for publishing on pyi * Fix branch trigger to branch `release/**` * Also run publish to test pypi on develop * build: Release v3.11.1 (#7455) * fix: Build docs always from the current local version (#7472) (#7475) * Fix: Build docs always from local version * Remove local files from requirements.in * Update `make-release` script * Add comments * Sync Makefile * Install docs requirements from the docs folder in github action * Install docs requirements from docs directory for tests * Rebase on repo dir * feat: add download statistics to readme (#7474) * Add download stats to readme * Fix: Downloads at position 1 * Undo: Recover accidentally deleted line. * docs: Added note to publish_pages API docs about it being a generator (#7483) * fix: Link both user and group from global page permissions to change form (#7486) * Better link change list to change form * Add filter for site * Make messages readable in dark mode, remove iOS9 compatibility trick which leads to unnecessary scoll bars (#7485) * fix: replace ' by ′ in fr translation − no more "page d\u0027accueil"! (#7488) * fix: replace ' by ′ in fr translation no more "page d\u0027accueil"! * Remove unnecessary escapes filter where translations {% filter "escapejs" %} ... {% endfilter %} only belongs to situations where data is put into html attributes or js code. Co-authored-by: Fabian Braun <fsbraun@gmx.de> * docs: Update formatting in how-to/install.rst to avoid misunderstanding (#7501) * Update install.rst * Update install.rst * feat: add setting so redirect preserve params (#7489) Added a new setting that allow to configure globally if the django-cms redirects preserving the query parameters. `REDIRECT_PRESERVE_QUERY_PARAMS`. This feature is usefull for example: 1. marketing campains extra parameters, 2. social networks extra parameters like `fbclick`, 3. custom developed parameters, after that page has been moved, the older URLs for that page should preserve the functionality. * improved code readability (#7503) Co-authored-by: Nihal <nihal.r@qburst.com> * feat: add setting to redirect slugs to lowercase (#7509) This commit adds the REDIRECT_TO_LOWERCASE_SLUG option which will cause the cms to redirect requests with an non-lowercase slug if no page with that slug is found. Implements #1324 * docs: Update incomplete color scheme docs (#7512) * fix/merge_errors * Update incomplete color scheme docs * fix typos * fix typos (#7514) * feat: add django 4.2 support (#7481) * revert: test change done earlier * feat: add django 4.2a1 to requirements and to the CI * fix: typo in the test.yml file * fix: update django to the stable * feat: some more updates to get the CI running * fix: two lint related issues * fix: update compatibility matrix to include django 4.2 support * ci: more deprecations in light of upcoming v4 (#7480) * Add deprecation warnings to cms.api * Fix typos --------- Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * ci: introduce ruff in place of flake8 for improved speed (#7504) * revert: test change done earlier * feat: replace flake8 with ruff * fix: code cleanup as per ruff recommendations * fix: cleanup code * fix: use flake-to-ruff to convert our config to ruff.toml file * fix: one more bypass * fix: review feedback * fix: cleanup code for usage dict, list and unnecessary usage Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> * fix: broken ci tests * fix: isort issues in the forms.py * fix: explanation of the rules bypass * fix: isort issues * revert: changes to the testcases.py * fix: use ruff to format imports * fix: ignore isort for this file as it causes circular import issues * Update cms/toolbar/toolbar.py Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Update cms/api.py Co-authored-by: Fabian Braun <fsbraun@gmx.de> --------- Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Fabian Braun <fsbraun@gmx.de> * build: release 3.11.2 (#7526) * [3.11.2 release process] Bumped version to 3.11.2 * [3.11.2 release process] compiling new static files * [3.11.2 release process] updating latest docs * Update 3.11.2.rst * Update 3.11.2.rst * Update 3.11.2.rst * Update CHANGELOG.rst * Update 3.11.2.rst * Update CHANGELOG.rst Co-authored-by: Mark Walker <mark@django-cms.org> * Update 3.11.2.rst --------- Co-authored-by: Github Release Action <info@django-cms.org> Co-authored-by: Mark Walker <mark@django-cms.org> * Update README.rst --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Mark Walker <mark.walker@realbuzz.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> Co-authored-by: Jasper <hello@jasperbok.nl> Co-authored-by: Corentin Bettiol <45763865+corentinbettiol@users.noreply.github.com> Co-authored-by: Ivo Branco <ivo.branco@fccn.pt> Co-authored-by: Nihal Rahman <70905551+deepbluesquirrel@users.noreply.github.com> Co-authored-by: Nihal <nihal.r@qburst.com> Co-authored-by: pajowu <pajowu@pajowu.de> Co-authored-by: Danny Waser <79070834+wasertech@users.noreply.github.com> Co-authored-by: Github Release Action <info@django-cms.org> * FIX: remove curly bracket left behind on PR 7488 (#7529) see this comment for more infos: https://github.com/django-cms/django-cms/pull/7488\#issuecomment-1513517082 * fix: lint menus app (#7534) * feat: add support for testing menus with ruff as well * fix: autofix issues with ruff * Fix #6848 (#7535) Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Mark Walker <mark.walker@realbuzz.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> Co-authored-by: Jasper <hello@jasperbok.nl> Co-authored-by: Corentin Bettiol <45763865+corentinbettiol@users.noreply.github.com> Co-authored-by: Ivo Branco <ivo.branco@fccn.pt> Co-authored-by: Nihal Rahman <70905551+deepbluesquirrel@users.noreply.github.com> Co-authored-by: Nihal <nihal.r@qburst.com> Co-authored-by: pajowu <pajowu@pajowu.de> Co-authored-by: Danny Waser <79070834+wasertech@users.noreply.github.com> Co-authored-by: Github Release Action <info@django-cms.org> * build: Merge build into release 3.11.x (#7540) * [3.11.3 release process] Bumped version to 3.11.3 * [3.11.3 release process] compiling new static files * [3.11.3 release process] updating latest docs * Update 3.11.3.rst * Update CHANGELOG.rst * Update CHANGELOG.rst * Update 3.11.3.rst --------- Co-authored-by: Github Release Action <info@django-cms.org> * Fix ruff issues * fix: Backport v4.1.0rc4 fixes - Admin language and styling (#7630) (#7641) * Remove assets of 3.11.2 * fix: Toolbar action button becomes hard to read in dark mode * ci: Merge 3.11.4 release build back into release/3.11.x (#7644) * [3.11.4rc1 release process] Building locales * [3.11.4rc1 release process] Bumped version to 3.11.4rc1 * [3.11.4rc1 release process] compiling new static files * [3.11.4rc1 release process] updating latest docs * Update translations * Update translations --------- Co-authored-by: Github Release Action <info@django-cms.org> * ci: Merge 3.11.4 build into `release/3.11.x` (#7645) * [3.11.4 release process] Building locales * [3.11.4 release process] Bumped version to 3.11.4 * [3.11.4 release process] compiling new static files * [3.11.4 release process] updating latest docs --------- Co-authored-by: Github Release Action <info@django-cms.org> * Update compatibility table * Fix: Correct language of help menu * fix: remove double entries in Changelog * Update CHANGELOG.rst --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Github Release Action <info@django-cms.org> Co-authored-by: Mark Walker <mark@django-cms.org> Co-authored-by: Florian Delizy <fdelizy@logitech.com> Co-authored-by: Mark Walker <theshow@gmail.com> Co-authored-by: Vinit Kumar <mail@vinitkumar.me> Co-authored-by: Simon Krull <simondotunix@gmail.com> Co-authored-by: Mark Walker <mark.walker@realbuzz.com> Co-authored-by: Marco Bonetti <mbonetti@gmail.com> Co-authored-by: Conrad <grosserconrad@gmail.com> Co-authored-by: jillalberts <81445981+jillalberts@users.noreply.github.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Fabien MICHEL <fabien.michel@hespul.org> Co-authored-by: Ivo Branco <igobranco@gmail.com> Co-authored-by: Patrick Mazulo <pmazulo@gmail.com> Co-authored-by: Dapo Adedire <adedireadedapo19@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hussein Srour <husseinfo@mail.com> Co-authored-by: viliammihalik <79649195+viliammihalik@users.noreply.github.com> Co-authored-by: Shivan Sivakumaran <51132467+shivan-s@users.noreply.github.com> Co-authored-by: Qijia Liu <liumeo@pku.edu.cn> Co-authored-by: wesleysima <45492117+wesleysima@users.noreply.github.com> Co-authored-by: Cage Johnson <cagejsn@gmail.com> Co-authored-by: G3RB3N <gerbenvaneerten@gmail.com> Co-authored-by: Pankrat <lhaehne@gmail.com> Co-authored-by: ton77v <50094687+ton77v@users.noreply.github.com> Co-authored-by: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Co-authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl> Co-authored-by: Micah Denbraver <macro1@users.noreply.github.com> Co-authored-by: Jasper <hello@jasperbok.nl> Co-authored-by: Corentin Bettiol <45763865+corentinbettiol@users.noreply.github.com> Co-authored-by: Ivo Branco <ivo.branco@fccn.pt> Co-authored-by: Nihal Rahman <70905551+deepbluesquirrel@users.noreply.github.com> Co-authored-by: Nihal <nihal.r@qburst.com> Co-authored-by: pajowu <pajowu@pajowu.de> Co-authored-by: Danny Waser <79070834+wasertech@users.noreply.github.com> * fix: data-theme typo for 'auto' (#7649) * Create SECURITY.md (#7652) * docs: Writing an extensive docstring for view _clean_redirect_url in the ma… (#7620) * Writing an extensive docstring for view _clean_redirect_url in the main views file * Fixed _clean_redirect_url view docstring after review --------- Co-authored-by: Fabian Braun <fsbraun@gmx.de> * build: bump pillow from 9.3.0 to 10.0.1 in /test_requirements (#7660) * build: bump pillow from 9.3.0 to 10.0.1 in /test_requirements Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.3.0 to 10.0.1. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](https://github.com/python-pillow/Pillow/compare/9.3.0...10.0.1) --- updated-dependencies: - dependency-name: pillow dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Update test_permmod.py --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fabian Braun <fsbraun@gmx.de> * fix: change language url parameter to delete_language to prevent collision (#7666) * change language url parameter to delete_language to prevent collision * Remove unnecessary added duplicate line in tests * remove trailing whitespaces * remove whitespace * codespell error fixed --------- Co-authored-by: Fabian Braun <fsbraun@gmx.de> * feat: Add Python3.12 support (#7675) * fix: deprecation for the regex * fix: assert deprecation for assertNotEquals * fix: broken test due to imp module * fix: update to add support for 3.12 * fix: codespell * fix: unused variables * fix: preserve `view_class` in decorated views (#7664) * Bugfix: avoid InvalidCacheKey (memcached) for key-length ~249 (fixes #7595) (#7657) * Update transifex pull strings script to first filter changes and THEN compile messages, since filter-locale-changes otherwise reverts the compiled messages (#7681) * fix: Use correct version of Django in GitHub CI actions (#7696) * Avoid overwriting Django with Django==3.2.16 from docs/requirements.txt * Fix apphook tests * Fix Django 2.2 issues * Fix django verison conditional in language middleware * Fix test_admin_logout_staff for Django 4.1+ * Fix lint issue * Test with psycopg2<2.9 * Fix: Adjust psycopg2 versions * Remove Dj2.2 from test suite since it has never been officially supported for CMS 3.11.x * Update test.yml * docs: Remove outdated link to djangocms-installer from docs (#7697) * Remove outdated link to djangocms-installer from docs * More mentions * Update config.yml (#7701) * Remove discontinued discourse server from docs (#7703) * build: bump browserify-sign from 4.2.1 to 4.2.2 (#7687) Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2. - [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md) - [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.2.1...v4.2.2) --- updated-dependencies: - dependency-name: browserify-sign dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fabian Braun <fsbraun@gmx.de> * update certifi 2022.12.07 to 2023.7.22 (#7661) Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Add template-based install to django CMS v3 docs (#7709) * Restore overwrttten release notes (#7711) * Update docs for frontend testing (#7726) * feat: django 5 support for cms 3.11 (#7724) * feat: django 5 support (#7648) * Support for Django 5.0 * Fix: test.yml and django Promise handling * Shorten github action names * Update test.yml * Update _cms.scss * Update setup.py * fix: django 5's choice widget is not lazy (#7707) * Support for Django 5.0 * Fix: test.yml and django Promise handling * Shorten github action names * Update test.yml * Update _cms.scss * Update setup.py * Fix: Django 5 choice widget is not lazy either * Add test * Fix: Swapped underscore * Deprecate SuperLazyIterator and LazyChoiceField * Fix toolbar tests * Fix import sorting * Remove Django 2.2 as it was before * Remove useless DJANGO_5_0 compat variable * Pin correct Django 5.0 version Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Do not deprecate LazyChoiceField Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Do not deprecate SuperLazyIterator Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Remove unused warning import --------- Co-authored-by: Fabian Braun <fsbraun@gmx.de> * Update documentation CMS_CACHE_PREFIX default value (#7727) * build: bump follow-redirects from 1.15.2 to 1.15.4 (#7749) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build: bump axios and browser-sync (#7751) * fix: Add `--fix-paths` option to `./manage.py cms fix-tree` (#7744) * feat: Add bot to remind to not squash merges into release/* branches (#7719) * Create releases.yml * Update releases.yml * Update releases.yml * Updat…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This is a revised approach, following conversation with github support, at getting a more efficient CI.
By defining
concurrency
we can group the workflows and get newer runs to cancel any of the same group already running. This makes the CI more efficient, because if you've pushed more changes to a branch, the previous run is irrelevant - you're interested in the test suite running against the current version of the branch.So this change groups each workflow using workflow name & branch name:
group: ${{ github.workflow }}-${{ github.ref }}
I tested this using two extra commits to remove whitespace added in the first commit. See a link below to see my fork's actions.
Related resources
Checklist
develop